[Bug rtl-optimization/83666] New: [8 Regression] ICE: SIGFPE with -O2 -g --param=sccvn-max-scc-size=10
zsojka at seznam dot cz
gcc-bugzilla@gcc.gnu.org
Wed Jan 3 12:03:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83666
Bug ID: 83666
Summary: [8 Regression] ICE: SIGFPE with -O2 -g
--param=sccvn-max-scc-size=10
Product: gcc
Version: 8.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: rtl-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: zsojka at seznam dot cz
Target Milestone: ---
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Created attachment 43014
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43014&action=edit
reduced testcase
Might be related to PR83621
Compiler output:
$ x86_64-pc-linux-gnu-gcc -O2 -g --param=sccvn-max-scc-size=10 testcase.c
testcase.c: In function 'bar':
testcase.c:9:1: warning: AVX512F vector return without AVX512F enabled changes
the ABI [-Wpsabi]
{
^
during RTL pass: expand
testcase.c: In function 'foo':
testcase.c:21:1: internal compiler error: Floating point exception
foo (void)
^~~
0xd4f2df crash_signal
/repo/gcc-trunk/gcc/toplev.c:325
0x84e0c5 if_nonpoly<unsigned short, bool, poly_int_traits<unsigned
short>::is_poly>::type multiple_p<1u, long, unsigned short>(poly_int_pod<1u,
long> const&, unsigned short)
/repo/gcc-trunk/gcc/poly-int.h:2040
0x84e0c5 expand_debug_expr
/repo/gcc-trunk/gcc/cfgexpand.c:4580
0x858287 expand_debug_locations
/repo/gcc-trunk/gcc/cfgexpand.c:5362
0x858287 execute
/repo/gcc-trunk/gcc/cfgexpand.c:6406
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
$ x86_64-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-amd64/bin/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-256069-checking-yes-rtl-df-extra-nobootstrap-amd64/bin/../libexec/gcc/x86_64-pc-linux-gnu/8.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra
--disable-bootstrap --with-cloog --with-ppl --with-isl
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu --with-ld=/usr/bin/x86_64-pc-linux-gnu-ld
--with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-256069-checking-yes-rtl-df-extra-nobootstrap-amd64
Thread model: posix
gcc version 8.0.0 20180102 (experimental) (GCC)
More information about the Gcc-bugs
mailing list