https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114607 --- Comment #2 from Richard Sandiford <rsandifo at gcc dot gnu.org> --- Fixed on trunk. I'll backport in a few weeks if there's no fallout.