https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107065
Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Created attachment 53642 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53642&action=edit gcc13-pr107065.patch I'd say it is wrong to fold this already during parsing, we should do such optimizations only during cp_fold* and later.