https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99685
--- Comment #4 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-12 branch has been updated by Pat Haugen <pthau...@gcc.gnu.org>: https://gcc.gnu.org/g:0bc43f9ae1384787b0efcf9a41f00c1eeaf8bb8b commit r12-8842-g0bc43f9ae1384787b0efcf9a41f00c1eeaf8bb8b Author: Pat Haugen <pthau...@linux.ibm.com> Date: Tue May 17 15:53:24 2022 -0500 Fix register count when not splitting Complex IEEE 128-bit args. For ABI_V4, we do not split complex args. This created a problem because even though an arg would be passed in two VSX regs, we were only advancing the function arg counter by one VSX register. Fixed with this patch. PR target/99685 gcc/ * config/rs6000/rs6000-call.cc (rs6000_function_arg_advance_1): Bump register count when not splitting IEEE 128-bit Complex. (cherry picked from commit 2ee68beee709e48fce85b8892ff9985acc6a91a8)