[Bug tree-optimization/87402] New: [9 Regression] ICE in set_ssa_val_to, at tree-ssa-sccvn.c:3645
asolokha at gmx dot com
gcc-bugzilla@gcc.gnu.org
Mon Sep 24 09:20:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87402
Bug ID: 87402
Summary: [9 Regression] ICE in set_ssa_val_to, at
tree-ssa-sccvn.c:3645
Product: gcc
Version: 9.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-alpha20180923 snapshot (r264518) ICEs when compiling the following
snippet w/ -O1 or -Og:
void
xl (int co)
{
int ar = 0;
if (ar != 0)
{
int pp, ll = 0;
int *zx;
if (co == 0)
{
}
else
{
zx = &pp;
if (co < 0)
while (co < 1)
{
to:
while (ll < 1)
++ll;
}
*zx = &ar;
}
}
goto to;
}
% gcc-9.0.0-alpha20180923 -O1 -w -c ycq12qdw.c
during GIMPLE pass: fre
ycq12qdw.c: In function 'xl':
ycq12qdw.c:31:1: internal compiler error: in set_ssa_val_to, at
tree-ssa-sccvn.c:3645
31 | }
| ^
0x6a56d1 set_ssa_val_to
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180923/work/gcc-9-20180923/gcc/tree-ssa-sccvn.c:3645
0xe731f8 visit_phi
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180923/work/gcc-9-20180923/gcc/tree-ssa-sccvn.c:4254
0xe7378f visit_stmt
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180923/work/gcc-9-20180923/gcc/tree-ssa-sccvn.c:4297
0xe74d78 process_bb
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180923/work/gcc-9-20180923/gcc/tree-ssa-sccvn.c:5919
0xe7660f do_rpo_vn
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180923/work/gcc-9-20180923/gcc/tree-ssa-sccvn.c:6622
0xe7776c execute
/var/tmp/portage/sys-devel/gcc-9.0.0_alpha20180923/work/gcc-9-20180923/gcc/tree-ssa-sccvn.c:6756
More information about the Gcc-bugs
mailing list