https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89639
--- Comment #10 from Francois-Xavier Coudert <fxcoudert at gcc dot gnu.org> --- Created attachment 52086 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52086&action=edit adjust testcase David, could you kindly test the attached patch, to see if it fixes things?