public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/107156] New: ice in lookup_attribute_by_prefix, at attribs.h:239
@ 2022-10-05 10:09 dcb314 at hotmail dot com
  2022-10-05 10:10 ` [Bug c/107156] " dcb314 at hotmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2022-10-05 10:09 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-05 12:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-05 10:09 [Bug c/107156] New: ice in lookup_attribute_by_prefix, at attribs.h:239 dcb314 at hotmail dot com
2022-10-05 10:10 ` [Bug c/107156] " dcb314 at hotmail dot com
2022-10-05 10:27 ` marxin at gcc dot gnu.org
2022-10-05 11:43 ` [Bug c/107156] ICE in lookup_attribute_by_prefix, at attribs.h:239 since r13-2976-g3a3516bc4a0a0307 marxin at gcc dot gnu.org
2022-10-05 11:50 ` marxin at gcc dot gnu.org
2022-10-05 12:53 ` cvs-commit at gcc dot gnu.org
2022-10-05 12:54 ` marxin at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).