https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69577
Bug ID: 69577
Summary: [5/6 Regression] wrong code with
-fno-forward-propagate -fno-split-wide-types -mavx and
128bit modulo
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P3
Component: target
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 37532
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37532&action=edit
reduced testcase
Output (Intel Software Development Emulator is used to emulate unsupported
instructions):
$ gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest/bin/gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-233015-checking-yes-rtl-df-nobootstrap-nographite/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-checking=yes,rtl,df --disable-bootstrap --without-cloog --without-ppl
--without-isl --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-233015-checking-yes-rtl-df-nobootstrap-nographite
Thread model: posix
gcc version 6.0.0 20160131 (experimental) (GCC)
$ gcc -O -fno-forward-propagate -fno-split-wide-types -mavx testcase.c
$ sde64 -- ./a.out
0000000000000000
Aborted
Tested revisions:
trunk r233015 - FAIL
trunk r232998 - FAIL
5-branch r232545 - FAIL
4_9-branch r232544 - OK
4_[876]-branch - OK