https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110960
--- Comment #11 from John Platts <john_platts at hotmail dot com> --- Created attachment 55869 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55869&action=edit Test program to reproduce GCC 12 compilation bug Here is the expected output of the ppc9_test_sat_add_090923.cpp test program: Test completed successfully The ppc9_test_sat_add_090923.cpp test program results in the following output when compiled with GCC 12 with -O2 -mcpu=power9 -std=c++14: Expected vector not equal to actual Aborted (core dumped) The ppc9_test_sat_add_090923.cpp test program does generate the expected results when compiled with GCC 11 with the -O2 -mcpu=power9 -std=c++14 options.