https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110817
Bug ID: 110817 Summary: [14 Regression] wrong code with vector compares on multiple targets Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: zsojka at seznam dot cz Target Milestone: --- Host: x86_64-pc-linux-gnu Target: riscv64-unknown-linux-gnu Created attachment 55639 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55639&action=edit reduced testcase Output: $ aarch64-unknown-linux-gnu-gcc -O testcase.c -static && ./a.out $ x86_64-pc-linux-gnu-gcc -O testcase.c -static && ./a.out $ armv7a-hardfloat-linux-gnueabi-gcc -O testcase.c -static && ./a.out qemu: uncaught target signal 6 (Aborted) - core dumped Aborted $ mips64el-unknown-linux-gnuabi64-gcc -O testcase.c -static && ./a.out qemu: uncaught target signal 6 (Aborted) - core dumped Aborted $ mipsel-unknown-linux-gnu-gcc -O testcase.c -static && ./a.out qemu: uncaught target signal 6 (Aborted) - core dumped Aborted $ powerpc64-unknown-linux-gnu-gcc -O testcase.c -static && ./a.out qemu: uncaught target signal 6 (Aborted) - core dumped Aborted $ powerpc64le-unknown-linux-gnu-gcc -O testcase.c -static && ./a.out qemu: uncaught target signal 6 (Aborted) - core dumped Aborted $ powerpc-unknown-linux-gnu-gcc -O testcase.c -static && ./a.out qemu: uncaught target signal 6 (Aborted) - core dumped Aborted $ riscv64-unknown-linux-gnu-gcc -O testcase.c -static && ./a.out qemu: uncaught target signal 6 (Aborted) - core dumped Aborted armv7a-hardfloat-linux-gnueabi-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest-armv7a-hardfloat/bin/armv7a-hardfloat-linux-gnueabi-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-20230726115220-g819f3d3692c-checking-yes-rtl-df-extra-sanitizer-armv7a-hardfloat/bin/../libexec/gcc/armv7a-hardfloat-linux-gnueabi/14.0.0/lto-wrapper Target: armv7a-hardfloat-linux-gnueabi Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-valgrind-annotations --disable-nls --enable-checking=yes,rtl,df,extra --with-cloog --with-ppl --with-isl --enable-libsanitizer --with-float=hard --with-fpu=vfpv4 --with-arch=armv7-a --with-sysroot=/usr/armv7a-hardfloat-linux-gnueabi --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=armv7a-hardfloat-linux-gnueabi --with-ld=/usr/bin/armv7a-hardfloat-linux-gnueabi-ld --with-as=/usr/bin/armv7a-hardfloat-linux-gnueabi-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-20230726115220-g819f3d3692c-checking-yes-rtl-df-extra-sanitizer-armv7a-hardfloat Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20230726 (experimental) (GCC) $