https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69306
Bug ID: 69306 Summary: wrong code with int128 @ x32 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 CC: hjl at gcc dot gnu.org Target Milestone: --- Host: x86_64-pc-linux-gnu Target: x86_64-pc-linux-gnux32 Output: $ x86_64-pc-linux-gnux32-gcc -v Using built-in specs. COLLECT_GCC=/repo/gcc-trunk/binary-latest-x32/bin/x86_64-pc-linux-gnux32-gcc COLLECT_LTO_WRAPPER=/repo/gcc-trunk/binary-trunk-232232-checking-yes-rtl-df-nographite-x32/bin/../libexec/gcc/x86_64-pc-linux-gnux32/6.0.0/lto-wrapper Target: x86_64-pc-linux-gnux32 Configured with: /repo/gcc-trunk//configure --enable-languages=c,c++ --enable-checking=yes,rtl,df --without-cloog --without-ppl --without-isl --with-abi=mx32 --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnux32 --with-ld=/usr/bin/x86_64-pc-linux-gnux32-ld --with-as=/usr/bin/x86_64-pc-linux-gnux32-as --with-sysroot=/usr/x86_64-pc-linux-gnux32 --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-232232-checking-yes-rtl-df-nographite-x32 Thread model: posix gcc version 6.0.0 20160111 (experimental) (GCC) $ x86_64-pc-linux-gnux32-gcc testcase.c $ ./a.out 33000000010000000000000000000000 Aborted The output should be "460000..." (the same as in PR69305) Tested revisions: trunk r232232 - FAIL 5-branch r231950 - FAIL 4_9-branch r231949 - FAIL 4_8-branch r224828 - FAIL