https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94707
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> --- With -std=c++14, the structure is passed in floating point registers 1, 2, 3, 4, 5 (SFmode each elt), with -std=c++17 the structure is passed in gprs 3, 4, 5 (where the first two contain 64-bits each, the last one contains 32 bits zero extended to 64 bits).