https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115161
--- Comment #14 from Sergei Trofimovich <slyfox at gcc dot gnu.org> --- Created attachment 58265 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58265&action=edit shorter-bug.cc I shrunk bug.cc slightly further into shorter-bug.cc and now it fails equally on gcc-13 and gcc-15. I agree that gcc-15 just got more constant folds available now, but otherwise it's behaviour did not change. But is it correct?