https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104540
--- Comment #2 from Alexandre Oliva <aoliva at gcc dot gnu.org> --- Created attachment 52459 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52459&action=edit candidate patch under test Here's a candidate fix