From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BD9883857705; Tue, 2 May 2023 15:57:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BD9883857705 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1683043060; bh=hvPpvvKDgME7YFc8vgNXuRl7TDYJXviqFGF4OdJoGpY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wrlv/3yDyJe7YVUoakSSK1BzOXnnx5nL50Uvq0rQV9z+Fq7iSIXX9zXpvsz33OvX9 EoY3bVjkD26jsCzn1qjjRPvgDrsmRs9iQ1JIOdHaRERVlld3KMIvnkWHkPq9vjXIVq Y6sGJxBOus8swOSpKbh1y/GyqdE0g7K74/xME1+0= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug sanitizer/109700] [13/14 regression] ICE with address sanitizer after declaring __builtin_alloca Date: Tue, 02 May 2023 15:57:40 +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.1.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED 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: 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=3D109700 --- Comment #2 from Andrew Pinski --- It is replacing __builtin_alloca with __builtin_alloca_with_align . __builtin_alloca is NOT known not to throw with the definition provided and that is the cause of the issue. Adding [[gnu::nothrow]] fixes the issue.=