public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/98184] New: ICE in purge_dead_edges, at cfgrtl.c:3297
@ 2020-12-07 17:53 gscfq@t-online.de
2020-12-07 18:12 ` [Bug c/98184] " jakub at gcc dot gnu.org
2021-09-18 22:17 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: gscfq@t-online.de @ 2020-12-07 17:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98184
Bug ID: 98184
Summary: ICE in purge_dead_edges, at cfgrtl.c:3297
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: gscfq@t-online.de
Target Milestone: ---
Affects versions down to r8 :
$ cat z1.c
__attribute__((naked)) void f ();
__attribute__((naked)) void g (int x)
{
__builtin_unwind_init ();
__builtin_eh_return (x, f);
}
$ gcc-11-20201206 -c z1.c
$
$ gcc-11-20201206 -c z1.c -fsplit-stack
during RTL pass: pro_and_epilogue
z1.c: In function 'g':
z1.c:6:1: internal compiler error: in purge_dead_edges, at cfgrtl.c:3297
6 | }
| ^
0x771f55 purge_dead_edges(basic_block_def*)
../../gcc/cfgrtl.c:3297
0x13780e7 find_bb_boundaries
../../gcc/cfgbuild.c:589
0x13780e7 find_many_sub_basic_blocks(simple_bitmap_def*)
../../gcc/cfgbuild.c:672
0x8a8a12 thread_prologue_and_epilogue_insns()
../../gcc/function.c:6150
0x8a8c02 rest_of_handle_thread_prologue_and_epilogue
../../gcc/function.c:6506
0x8a8c02 execute
../../gcc/function.c:6582
---
No extra option needed when configured with --enable-checking=yes :
$ gcc-11-20201206 -c z1.c
z1.c: In function 'g':
z1.c:6:1: error: too many outgoing branch edges from bb 2
6 | }
| ^
during RTL pass: pro_and_epilogue
z1.c:6:1: internal compiler error: verify_flow_info failed
0x820884 verify_flow_info()
../../gcc/cfghooks.c:269
0x83f453 checking_verify_flow_info
../../gcc/cfghooks.h:212
0x83f453 commit_edge_insertions()
../../gcc/cfgrtl.c:2115
0x9cd289 thread_prologue_and_epilogue_insns()
../../gcc/function.c:6132
0x9cd342 rest_of_handle_thread_prologue_and_epilogue
../../gcc/function.c:6506
0x9cd342 execute
../../gcc/function.c:6582
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/98184] ICE in purge_dead_edges, at cfgrtl.c:3297
2020-12-07 17:53 [Bug c/98184] New: ICE in purge_dead_edges, at cfgrtl.c:3297 gscfq@t-online.de
@ 2020-12-07 18:12 ` jakub at gcc dot gnu.org
2021-09-18 22:17 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: jakub at gcc dot gnu.org @ 2020-12-07 18:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98184
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice-on-invalid-code
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The only supported body of naked functions is inline asm.
These builtins definitely not, there is zero chance they'd do something
reasonable in naked functions.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug c/98184] ICE in purge_dead_edges, at cfgrtl.c:3297
2020-12-07 17:53 [Bug c/98184] New: ICE in purge_dead_edges, at cfgrtl.c:3297 gscfq@t-online.de
2020-12-07 18:12 ` [Bug c/98184] " jakub at gcc dot gnu.org
@ 2021-09-18 22:17 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-18 22:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98184
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2021-09-18
Status|UNCONFIRMED |NEW
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-09-18 22:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-07 17:53 [Bug c/98184] New: ICE in purge_dead_edges, at cfgrtl.c:3297 gscfq@t-online.de
2020-12-07 18:12 ` [Bug c/98184] " jakub at gcc dot gnu.org
2021-09-18 22:17 ` pinskia 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).