From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B3772384F880; Fri, 25 Nov 2022 10:40:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B3772384F880 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669372847; bh=XC9TINd+5inyNjRG29cODtDZ4+9F2ye1H/ul1r318J8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sbyl21whC6I94kilR3ibbi7VqYos//sr5xyPhTh4PPxptP225Jb4OlMe3gsRGc7Gc 3AzL3j3eIivA+MZtXpIME/wwob4sCyfYi7AYsk5Pu5wYxAAPNLpZS0fT6KovE7xZvI GwcK3A8WvxNcK3zJ++SnalS7m5oKLBt8ag0cl2TM= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/107866] [12/13 Regression] gcc trunk's UBSan misses a Null-pointer-dereference at -O3. Date: Fri, 25 Nov 2022 10:40:47 +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: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jakub at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: short_desc target_milestone cc priority 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=3D107866 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|gcc trunk's UBSan misses a |[12/13 Regression] gcc |Null-pointer-dereference at |trunk's UBSan misses a |-O3. |Null-pointer-dereference at | |-O3. Target Milestone|--- |12.3 CC| |rguenth at gcc dot gnu.org Priority|P3 |P2 --- Comment #1 from Jakub Jelinek --- This isn't reported since r12-3918-g5b8b1522e04adc20980f396571be1929a32d148a I wonder what is the point of -O3 -fsanitize=3Dundefined, -fsanitize=3D sev= erely slows down the code for instrumentation and at the same time you ask for as many optimizations as possible.=