From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7B63D385800A; Wed, 29 Mar 2023 12:46:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7B63D385800A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1680093995; bh=2fLYvYN6retcR3v9nTm+AZ5efHCHNp2Pftf9aL8K9qE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=xvrS3ca8hxRWhG2AvQLUYPPNjxp24RJYqOrhqsEFDNtmD6CFeKKyYL5xdo0nGa51V 6i5dgmlXGAqALD+ATNJRHKB2M13tOw27yTMCbgRndQAzcMXl1hXz80++4A/7hARwDn zC+2DX1wdzPrWTEA/Rrlfipm5cC6qtf5PJSs3e7c= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/109330] ASAN since GCC-9 missed a stack-use-after-scope at -O3 Date: Wed, 29 Mar 2023 12:46:34 +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: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: INVALID 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=3D109330 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Martin Li=C5=A1ka --- We completely eliminate usage of 'f' with -O3 and thus there's no ASAN repo= rt. Note, clang does not emit an error even with -O2.=