[Bug tree-optimization/87981] New: ICE: Segmentation fault (in add_phi_arg)
asolokha at gmx dot com
gcc-bugzilla@gcc.gnu.org
Mon Nov 12 08:39:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87981
Bug ID: 87981
Summary: ICE: Segmentation fault (in add_phi_arg)
Product: gcc
Version: 7.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: asolokha at gmx dot com
Target Milestone: ---
gcc-9.0.0-alpha20181111 snapshot (r266019), 8.2, 7.3 all ICE when compiling
gcc/testsuite/gcc.dg/vect/vect-cond-arith-2.c w/ -fexceptions -fgimple:
% gcc-9.0.0-alpha20181111 -fexceptions -fgimple -c
gcc/testsuite/gcc.dg/vect/vect-cond-arith-2.c
during GIMPLE pass: cfg
gcc/testsuite/gcc.dg/vect/vect-cond-arith-2.c: In function 'neg_xi':
gcc/testsuite/gcc.dg/vect/vect-cond-arith-2.c:5:1: internal compiler error:
Segmentation fault
5 | neg_xi (double *x)
| ^~~~~~
0xce6f8f crash_signal
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/toplev.c:325
0xd9c678 add_phi_arg(gphi*, tree_node*, edge_def*, unsigned int)
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/tree-phinodes.c:358
0xd304b4 lower_phi_internal_fn
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/tree-cfg.c:394
0xd304b4 build_gimple_cfg
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/tree-cfg.c:249
0xd304b4 execute_build_cfg
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/tree-cfg.c:408
0xd304b4 execute
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20181111/work/gcc-9-20181111/gcc/tree-cfg.c:444
I'm not marking it a regression because feeding GIMPLE to the driver was
implemented during the gcc 7 development cycle.
More information about the Gcc-bugs
mailing list