[Bug target/93637] New: [9/10 Regression] ICE: Segmentation fault (in force_operand)
asolokha at gmx dot com
gcc-bugzilla@gcc.gnu.org
Sun Feb 9 13:32:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93637
Bug ID: 93637
Summary: [9/10 Regression] ICE: Segmentation fault (in
force_operand)
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: asolokha at gmx dot com
Target Milestone: ---
Target: x86_64-unknown-linux-gnu
gcc-10.0.1-alpha20200202 snapshot (g:b817be038d94c987e02c26ed2d81b6f2ebb5f97a)
and gcc 9.2.0 ICE when compiling the following testcase, reduced from
gcc/testsuite/gcc.dg/vect/pr65947-10.c, w/ -mavx -O3 --param
sccvn-max-alias-queries-per-access=3:
double
zl (void)
{
int cf;
double yp;
double ev[] = {
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 1.0,
};
for (cf = 0; cf < sizeof (ev) / sizeof (ev[0]); ++cf)
if (ev[cf] == 0.0)
yp = ev[cf];
return yp;
}
% x86_64-unknown-linux-gnu-gcc-10.0.1 -mavx -O3 --param
sccvn-max-alias-queries-per-access=3 -c wyezqdy3.c
during RTL pass: expand
wyezqdy3.c: In function 'zl':
wyezqdy3.c:2:1: internal compiler error: Segmentation fault
2 | zl (void)
| ^~
0xd88c6f crash_signal
/var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200202/work/gcc-10-20200202/gcc/toplev.c:328
0xa1d8f2 force_operand(rtx_def*, rtx_def*)
/var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200202/work/gcc-10-20200202/gcc/expr.c:7502
0x8f3fde expand_gimple_stmt_1
/var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200202/work/gcc-10-20200202/gcc/cfgexpand.c:3811
0x8f3fde expand_gimple_stmt
/var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200202/work/gcc-10-20200202/gcc/cfgexpand.c:3847
0x8f85aa expand_gimple_basic_block
/var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200202/work/gcc-10-20200202/gcc/cfgexpand.c:5887
0x8fa6de execute
/var/tmp/portage/sys-devel/gcc-10.0.1_alpha20200202/work/gcc-10-20200202/gcc/cfgexpand.c:6542
More information about the Gcc-bugs
mailing list