[Bug target/125719] FAIL: c-c++-common/builtin-bswapg-1.c - starting with - r17-1367-g9ab08d664545bc

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jun 10 15:55:58 GMT 2026


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Given that
FAIL: gcc.c-torture/execute/bswap-1.c   -O1  execution test
FAIL: gcc.c-torture/execute/bswap-1.c   -O2  execution test
FAIL: gcc.c-torture/execute/bswap-1.c   -O2 -flto -fno-use-linker-plugin
-flto-partition=none  execution test
FAIL: gcc.c-torture/execute/bswap-1.c   -O2 -flto -fuse-linker-plugin
-fno-fat-lto-objects  execution test
FAIL: gcc.c-torture/execute/bswap-1.c   -O3 -g  execution test
FAILs even in older GCC releases on powerpc64-linux and so does on the trunk,
I'd say there is some target bug with the bswapdi2 implementation.
Though, I can't really reproduce this (compiling both tests in a trunk cross to
powerpc64-linux, tried both -mcpu=power10 -O2 and just -m64 -O2, running on
cfarm121.cfarm.net, both bswap-1.c and builtin-bswapg-1.c pass).


More information about the Gcc-bugs mailing list