From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 071A9384AB6D; Thu, 11 Apr 2024 10:08:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 071A9384AB6D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1712830125; bh=INkhi89uuGdnzxrwG7CSvZ8jkafZ511o7sowJyvVtVE=; h=From:To:Subject:Date:From; b=muSYiuqQFEoZiKhCNWQwIiwSVxiRYoFTC9HAcXi/tT+JFSn61UPVnR5B1+bexu0yg iFktC2F0H6aafGHRDb40xrZZ6FPgMWzNz+zPQFDoOjeUTn9qSJoJOHJ/ZZhrxct2Lc Mq3BP4JoS9Di3aGGQx6sqpbOT0szIs+8u2Cnglbk= From: "jakub at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/114691] New: [11/12/13/14 Regression] Bogus ignoring loop annotation warning Date: Thu, 11 Apr 2024 10:08:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: 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: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc dependson target_milestone Message-ID: 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=3D114691 Bug ID: 114691 Summary: [11/12/13/14 Regression] Bogus ignoring loop annotation warning Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jakub at gcc dot gnu.org CC: jakub at gcc dot gnu.org, jason at gcc dot gnu.org, pinskia at gcc dot gnu.org, ppalka at gcc dot gnu.org, sjames at gcc dot gnu.org, webrown.cpp at gmail dot com Depends on: 114409 Target Milestone: --- +++ This bug was initially created as a clone of Bug #114409 +++ As the PR114409 initially reported P1 bug is now fixed, I'm cloning it for = the https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114409#c10 regression. int foo (int); void qux (int x) { #pragma GCC ivdep while (int y =3D foo (x)) ++y; } With no options this didn't emit any warnings e.g. in r200000 (i.e. in GCC 4.9), while it emits pr114409-2.C:7:24: warning: ignoring loop annotation warning in r220000 (i.e. in GCC 5+). Can't bisect easily, because in various revisions in between it ICEs on ANNOTATE_EXPR. Referenced Bugs: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D114409 [Bug 114409] [14 Regression] ICE after adding novector pragmas (internal compiler error: in tsubst_expr, at cp/pt.cc:21794) since r14-4229-g9c62af101e11e1cce573c2b3d2e18b403412dbc8=