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
* [Bug c/107156] ice in lookup_attribute_by_prefix, at attribs.h:239
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 ` dcb314 at hotmail dot com
2022-10-05 10:27 ` marxin at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dcb314 at hotmail dot com @ 2022-10-05 10:10 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156
David Binderman <dcb314 at hotmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joseph at codesourcery dot com
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> ---
Looking at the list of commits, I add the author of the code.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/107156] ice in lookup_attribute_by_prefix, at attribs.h:239
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
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-10-05 10:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2022-10-05
Status|UNCONFIRMED |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
CC| |marxin at gcc dot gnu.org
--- Comment #2 from Martin Liška <marxin at gcc dot gnu.org> ---
Started with r13-2976-g3a3516bc4a0a0307, anyway, I'm going to fix it as it
comes from IPA ICF pass.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/107156] ICE in lookup_attribute_by_prefix, at attribs.h:239 since r13-2976-g3a3516bc4a0a0307
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 ` marxin at gcc dot gnu.org
2022-10-05 11:50 ` marxin at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-10-05 11:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
--- Comment #3 from Martin Liška <marxin at gcc dot gnu.org> ---
Patch candidate:
https://gcc.gnu.org/pipermail/gcc-patches/2022-October/602860.html
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/107156] ICE in lookup_attribute_by_prefix, at attribs.h:239 since r13-2976-g3a3516bc4a0a0307
2022-10-05 10:09 [Bug c/107156] New: ice in lookup_attribute_by_prefix, at attribs.h:239 dcb314 at hotmail dot com
` (2 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-10-05 11:50 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |13.0
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/107156] ICE in lookup_attribute_by_prefix, at attribs.h:239 since r13-2976-g3a3516bc4a0a0307
2022-10-05 10:09 [Bug c/107156] New: ice in lookup_attribute_by_prefix, at attribs.h:239 dcb314 at hotmail dot com
` (3 preceding siblings ...)
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
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2022-10-05 12:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:
https://gcc.gnu.org/g:0afa9dfb8fb3302db7f104add5654436927dcb56
commit r13-3088-g0afa9dfb8fb3302db7f104add5654436927dcb56
Author: Martin Liska <mliska@suse.cz>
Date: Wed Oct 5 12:34:30 2022 +0200
c: support the attribute starting with '_'
PR c/107156
gcc/ChangeLog:
* attribs.h (lookup_attribute_by_prefix): Support the attribute
starting with underscore (_Noreturn).
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/107156] ICE in lookup_attribute_by_prefix, at attribs.h:239 since r13-2976-g3a3516bc4a0a0307
2022-10-05 10:09 [Bug c/107156] New: ice in lookup_attribute_by_prefix, at attribs.h:239 dcb314 at hotmail dot com
` (4 preceding siblings ...)
2022-10-05 12:53 ` cvs-commit at gcc dot gnu.org
@ 2022-10-05 12:54 ` marxin at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: marxin at gcc dot gnu.org @ 2022-10-05 12:54 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107156
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|ASSIGNED |RESOLVED
--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Fixed.
^ 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).