From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 81FED3858D28; Wed, 20 Mar 2024 21:21:45 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81FED3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710969705; bh=7ru20gPhTvbyzi7V0mFYouy/b/Nm89w55TcndYz2fKc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=X8OQ3dR5XDQipnsU+4j8Z8OAaFhopt8NYImQO5LfNsQxegvAyFL841vaHsRvLFHu6 ZTAIEqL2IYCrw2GInB4DgzEdr+PJW4ZYR1iapWOCT7T5Jm8tw+1hHW3sIWBXISfbkO yA6zgkCi7UFkrxOIwJ7+My/OEk4P2LmuTvu6l2+E= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114409] ICE after adding novector pragmas (internal compiler error: in tsubst_expr, at cp/pt.cc:21794) Date: Wed, 20 Mar 2024 21:21:45 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: ice-on-valid-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=3D114409 --- Comment #3 from Andrew Pinski --- (In reply to Sam James from comment #1) > If you can think of a workaround, please let me know, as unfortunately th= is > loop is the one where the assert in the other bug gets hit :( An easy workaround is to add: asm("":::"memory"); Right after the opening `{`. But that might be too much of a hammer in some cases ...=