https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116550
--- Comment #11 from Georg-Johann Lay <gjl at gcc dot gnu.org> --- There's PR116778 that also produces wrong code; maybe it's the same issue -- but easier to analyse. At least for that PR the bad insn is already known.