[Bug target/69305] New: [5/6 Regression] wrong code with -O and int128 @ aarch64

zsojka at seznam dot cz gcc-bugzilla@gcc.gnu.org
Fri Jan 15 22:35:00 GMT 2016


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69305

            Bug ID: 69305
           Summary: [5/6 Regression] wrong code with -O and int128 @
                    aarch64
           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: aarch64-unknown-linux-gnu

Created attachment 37365
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=37365&action=edit
reduced testcase

Output (qemu userspace emulation):
$ aarch64-unknown-linux-gnu-gcc -v                    
Using built-in specs.
COLLECT_GCC=/repo/gcc-trunk/binary-latest-aarch64/bin/aarch64-unknown-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-232232-checking-yes-rtl-df-nographite-aarch64/bin/../libexec/gcc/aarch64-unknown-linux-gnu/6.0.0/lto-wrapper
Target: aarch64-unknown-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=aarch64-unknown-linux-gnu
--with-ld=/usr/bin/aarch64-unknown-linux-gnu-ld
--with-as=/usr/bin/aarch64-unknown-linux-gnu-as
--with-sysroot=/usr/aarch64-unknown-linux-gnu --disable-libstdcxx-pch
--prefix=/repo/gcc-trunk//binary-trunk-232232-checking-yes-rtl-df-nographite-aarch64
Thread model: posix
gcc version 6.0.0 20160111 (experimental) (GCC) 

$ aarch64-unknown-linux-gnu-gcc -O testcase.c
$ ./a.out 
46000000000000000100000000000000
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted

Tested revisions:
trunk r232232 - FAIL
5-branch r231950 - FAIL
4_9-branch r231949 - OK
4_8-branch r224828 - OK


More information about the Gcc-bugs mailing list