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

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

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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
You haven't told what you think is a bug and what you think is correct
behavior.
I've tried to compile using 12.2.1 20221121
g++ -o test_p64-test{0,.ii} -mcpu=power9 -O0 -fpie -pie
g++ -o test_p64-test{2,.ii} -mcpu=power9 -O2 -fpie -pie
./test_p64-test0 > 0
./test_p64-test2 > 2
diff -up 0 2
g++ -o test_p64-test{0,.ii} -mcpu=power8 -O0 -fpie -pie
g++ -o test_p64-test{2,.ii} -fno-strict-aliasing -fwrapv
-fno-aggressive-loop-optimizations -mcpu=power9 -O2 -fpie -pie
./test_p64-test0 > 0
./test_p64-test2 > 2
diff -up 0 2
And neither shows any differences.
Attaching a screenshot is a very bad idea, one can't copy from it.  Only
preprocessed source should be attached, the rest should go in text here,
describe what to run and what is correct and what is wrong (best testcases just
abort if they don't behave as expected and exit with 0 otherwise).

Reply via email to