From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5B8823858C54; Wed, 5 Oct 2022 10:09:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5B8823858C54 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664964580; bh=jgju1Yhxp5Szcd+oVhM07kdlc3rNxvtZgZr9BLFgRwI=; h=From:To:Subject:Date:From; b=cKmzIsA5cjefvkwREo7Mtqv0bBj5w676c0QtBtulgcbHuNnY5y2m2Qdx38QFU6vTN SlScBlDIgHPc+QQJza2JsQIOvFAsfOafI3FAVdi1S4Xg+6Jiq+FcjrVK67SLAxtiFg n/c6CSE2FXM861+eik6G9vc7SEhd9Uqz3JUy0xt0= From: "dcb314 at hotmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107156] New: ice in lookup_attribute_by_prefix, at attribs.h:239 Date: Wed, 05 Oct 2022 10:09:39 +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: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dcb314 at hotmail dot com 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 bug_severity priority component assigned_to reporter 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=3D107156 Bug ID: 107156 Summary: ice in lookup_attribute_by_prefix, at attribs.h:239 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: dcb314 at hotmail dot com Target Milestone: --- For testsuite file ./gcc.dg/c2x-attr-noreturn-1.c, with recent gcc, I get t= his: [/home/dcb/gcc/trunk.git/gcc/testsuite] $ /home/dcb/gcc/results/bin/gcc -c = -w -O2 ./gcc.dg/c2x-attr-noreturn-1.c during IPA pass: icf ./gcc.dg/c2x-attr-noreturn-1.c:56:1: internal compiler error: in lookup_attribute_by_prefix, at attribs.h:239 56 | [[noreturn]] int main (); | ^ 0x1bd9afe lookup_attribute_by_prefix(char const*, tree_node*) ../../trunk.git/gcc/attribs.h:239 Please not I am not using any -std=3D flag. The bug first seems to occur sometime between git hash f758d447d7f46992 and 43faf3e5445b5717, which is about 50 commits.=