https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48026
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 61562 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61562&action=edit Updated patch Updated patch with a fixed up changelog and added a generic testcase based on PR 118921's example.