https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107502
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to cqwrteur from comment #4) > (In reply to Andrew Pinski from comment #3) > > I filed PR 107503 with the reduced testcase for the test2 case (after having > > fixed the return issue). > > sorry about that. it should be vector case > https://godbolt.org/z/f9TYMxb7c Right, PR 107503 has the reduced testcase for your vector (test2 function) testcase.