From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 013743858404; Fri, 2 Sep 2022 03:38:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 013743858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1662089898; bh=oCKRYT0kS3f+iTWJxz3AD+KCsemJS16B0QmUrV1fFHc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ih6Ik9ri9DzuDOgo6cd6QvnPKJctdLa44Q9R4D1RLl6Vy6LTrLhb9QR2MhMMeXTsv OZcGQXUe0ftVY99yDFtQUip/Ht2stawJZXyJbwISdCOW+m3ARHwsUMqPIqo0tkIyg/ KwC40vNyvJpMu+QKRif9JoYRRdUimmJR69A4NABw= From: "ygribov at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/106558] ASan failed to detect a global-buffer-overflow Date: Fri, 02 Sep 2022 03:38:16 +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: ygribov at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: 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: attachments.isobsolete attachments.created 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=3D106558 Yury Gribov changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #53458|0 |1 is obsolete| | Attachment #53493|0 |1 is obsolete| | --- Comment #12 from Yury Gribov --- Created attachment 53530 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53530&action=3Dedit Final patch Attached patch passes bootstrap (regular and asan) and regtesting and, as explained above, results in very small <1% reduction of optimizations. If t= here are no objections, I'll post it to gcc-patches.=