From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7AD36385841D; Mon, 17 Apr 2023 04:22:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7AD36385841D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1681705379; bh=apnWn16zq/XCYbQ/0b/6k9TFjDoFQaFK+BlPJjLrXmw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Bu9yoQYdZL60dsCgnJoOQKQN3sKHlXx16gemqtgoWxZhfy8j/rH3x1/ZSkH2/q4Hy CtmTvwoHkeVHWOdS9C3nWm8Tt3cYaOAUWMw/EeFfCrC2Oxuysjrc05Vi4QKvQPFFwz XZzv/YFBNScNRzqOOHmLuUJER0fwmCQdDuveqCoA= From: "i at maskray dot me" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/109489] [ubsan] Support -fsanitize-trap= Date: Mon, 17 Apr 2023 04:22:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: sanitizer X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: i at maskray dot me X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D109489 Fangrui Song changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #1 from Fangrui Song --- This has been implemented in https://gcc.gnu.org/git/?p=3Dgcc.git;a=3Dcommit;h=3D2c7cfc7b418564a2f1f0e7a= 5b38dec7013ba5e18 (2022-06). Sorry that I did not check the trunk GCC. https://gcc.gnu.org/onlinedocs/gcc/Instrumentation-Options.html says "The -fsanitize-undefined-trap-on-error option is deprecated equivalent of -fsanitize-trap=3Dall." (as expected).=