[Bug debug/100515] New: [12 Regression] ICE in output_rnglists, at dwarf2out.c:12294
asolokha at gmx dot com
gcc-bugzilla@gcc.gnu.org
Tue May 11 08:54:56 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100515
Bug ID: 100515
Summary: [12 Regression] ICE in output_rnglists, at
dwarf2out.c:12294
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code, openmp
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: asolokha at gmx dot com
Target Milestone: ---
gcc-12.0.0-alpha20210509 snapshot (g:5e0236d3b0e0d7ad98bcee36128433fa755b5558)
ICEs when compiling the following testcase, reduced from
clang/testsuite/AST/ast-dump-openmp-taskloop-simd.c, w/ -O2 -fopenmp -g:
void
foo (int x)
{
#pragma omp taskloop
for (int i = 0; i < x; i++)
;
}
void
bar (int x)
{
#pragma omp taskloop
for (int i = 0; i < x; i++)
;
}
% gcc-12.0.0 -O2 -fopenmp -g -c wuhgfgai.c
wuhgfgai.c:15:1: internal compiler error: in output_rnglists, at
dwarf2out.c:12294
15 | }
| ^
0x64302c output_rnglists
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210509/work/gcc-12-20210509/gcc/dwarf2out.c:12294
0xa4d492 dwarf2out_finish
/var/tmp/portage/sys-devel/gcc-12.0.0_alpha20210509/work/gcc-12-20210509/gcc/dwarf2out.c:32176
More information about the Gcc-bugs
mailing list