https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101347
Bug ID: 101347
Summary: [11/12 Regression] ICE in cfg_layout_initialize, at
cfgrtl.c:4478
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: [email protected]
Target Milestone: ---
Testcase reduced from pr26983.c :
(seen with cet-sjlj-6a.c, cet-sjlj-6b.c, setjmp-1.c, pr26983.c)
$ cat z1.c
void *jmpbuf[6];
void
foo (void)
{
__builtin_setjmp (jmpbuf);
}
$ gcc-12-20210704 -c z1.c -O2 -fprofile-generate -fprofile-use
z1.c: In function 'foo':
z1.c:6:1: warning: 'z1.gcda' profile count data file not found
[-Wmissing-profile]
6 | }
| ^
during RTL pass: into_cfglayout
z1.c:6:1: internal compiler error: Segmentation fault
0xdcbcdf crash_signal
../../gcc/toplev.c:328
0x8c9a5b cfg_layout_initialize(int)
../../gcc/cfgrtl.c:4478
0x8c9bba execute
../../gcc/cfgrtl.c:3685