https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69634
Bug ID: 69634
Summary: -fcompare-debug failure (length) with -O2 -fno-dce
-fschedule-insns -fno-tree-vrp @ i686
Product: gcc
Version: 6.0
Status: UNCONFIRMED
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: i686-pc-linux-gnu
Created attachment 37560
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37560&action=edit
reduced testcase
Compiler output:
$ i686-pc-linux-gnu-gcc -O2 -fno-dce -fschedule-insns -fno-tree-vrp
-fcompare-debug testcase.c
testcase.c: In function 'foo':
testcase.c:7:1: note: The ABI for passing parameters with 16-byte alignment has
changed in GCC 4.6
foo(u16 u16_1, v16u16 v16u16_0, v16u32 v16u64_0, v16u16 v16u16_1, v16u32
v16u32_1, v16u64 v16u64_1)
^~~
testcase.c:7:1: warning: SSE vector argument without SSE enabled changes the
ABI [-Wpsabi]
i686-pc-linux-gnu-gcc: error: testcase.c: -fcompare-debug failure (length)
$ i686-pc-linux-gnu-gcc -v
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-i686/bin/i686-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-233042-checking-yes-rtl-df-nographite-i686/bin/../libexec/gcc/i686-pc-linux-gnu/6.0.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++
--enable-checking=yes,rtl,df --without-cloog --without-ppl --without-isl
--build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=i686-pc-linux-gnu --with-ld=/usr/bin/i686-pc-linux-gnu-ld
--with-as=/usr/bin/i686-pc-linux-gnu-as --with-sysroot=/usr/i686-pc-linux-gnu
--disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-233042-checking-yes-rtl-df-nographite-i686
Thread model: posix
gcc version 6.0.0 20160201 (experimental) (GCC)
Tested revisions:
r233042 - FAIL
5-branch r233031 - OK