[Bug ipa/88586] New: ICE: Segmentation fault (in free_lang_data_in_decl)
asolokha at gmx dot com
gcc-bugzilla@gcc.gnu.org
Mon Dec 24 06:51:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88586
Bug ID: 88586
Summary: ICE: Segmentation fault (in free_lang_data_in_decl)
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: asolokha at gmx dot com
CC: marxin at gcc dot gnu.org
Target Milestone: ---
g++-9.0.0-alpha20181223 snapshot (r267388) ICEs when compiling
libgomp/testsuite/libgomp.c++/task-reduction-14.C w/ -flto -fopenmp:
% g++-9.0.0-alpha20181223 -flto -fopenmp -c
libgomp/testsuite/libgomp.c++/task-reduction-14.C
during IPA pass: *free_lang_data
libgomp/testsuite/libgomp.c++/task-reduction-14.C:72:1: internal compiler
error: Segmentation fault
72 | }
| ^
0xf2ad8f crash_signal
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181223/work/gcc-9-20181223/gcc/toplev.c:326
0x11e0350 free_lang_data_in_decl
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181223/work/gcc-9-20181223/gcc/tree.c:5648
0x11e0350 free_lang_data_in_cgraph
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181223/work/gcc-9-20181223/gcc/tree.c:6174
0x11e0350 free_lang_data
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181223/work/gcc-9-20181223/gcc/tree.c:6210
0x11e0350 execute
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181223/work/gcc-9-20181223/gcc/tree.c:6282
I'm not marking it a regression, as the testcase uses OpenMP 5.0 which was not
supported in prior versions of gcc and I don't have a better testcase yet.
More information about the Gcc-bugs
mailing list