https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55402 --- Comment #19 from Drea Pinski <pinskia at gcc dot gnu.org> --- I have not double checked but I think both gcc 15 and 16 included improvements in this area.