[Bug target/109004] [10/11/12/13 Regression] wrong code for -O2 (any above -O0) with g++ 11.3 for POWER9 (cross-compiler on x86_64 host)

bugreporter66 at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Mar 4 06:42:24 GMT 2023


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

--- Comment #1 from bugreporter66 at gmail dot com ---
Checked g++ 10.4 today, it works as it should.
11.3 and 12.1 were tested to show the issue so far.

The command line for building:
powerpc64le-linux-gnu-g++ -O2 -static test.cpp -o test_p64


More information about the Gcc-bugs mailing list