From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A2E563858C5E; Thu, 21 Mar 2024 13:53:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A2E563858C5E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1711029213; bh=xlBAMlNPEDRqChTrWRUfWoGD4f8bj0mdiMJGzZ/9chI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=J9Vr3JFOl9C8pkTwgth/GLPYJU3zcVSqYghijIYFZDod9ktt+ZNyn4cIwzrQzTIvj ctLLjmIROFc+m69kxYv6Hlm0XceglJRuFPn6bO4q2B90QiZTCMTNQrBSwASPPwflrx itQ0ot8q87HjwuMz+bcgMbjh398HjpZj2yrtqJys= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114409] [14 Regression] ICE after adding novector pragmas (internal compiler error: in tsubst_expr, at cp/pt.cc:21794) Date: Thu, 21 Mar 2024 13:53:33 +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: jakub at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: everconfirmed cf_reconfirmed_on bug_status 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 Jakub Jelinek changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2024-03-21 Status|UNCONFIRMED |NEW --- Comment #10 from Jakub Jelinek --- Note, when not in a template, such as void qux (int x) { #pragma GCC novector while (int y =3D foo (x)) ; } with the above foo template, we ignore the annotation because the middle-end doesn't find it at the right spot: warning: ignoring loop annotation C doesn't allow defining a variable in while loop's condition, so can't cross-check what it does instead.=