[Bug c/107156] New: ice in lookup_attribute_by_prefix, at attribs.h:239
dcb314 at hotmail dot com
gcc-bugzilla@gcc.gnu.org
Wed Oct 5 10:09:39 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156
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 this:
[/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= flag.
The bug first seems to occur sometime between git hash f758d447d7f46992
and 43faf3e5445b5717, which is about 50 commits.
More information about the Gcc-bugs
mailing list