https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102062
Bill Schmidt <wschmidt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2021-08-25 --- Comment #4 from Bill Schmidt <wschmidt at gcc dot gnu.org> --- Interesting. I dug up an older GCC 11 compiler off of one of my systems and it behaves as you report. No idea why this should differ between 11 and 12, as the user of variable expansion as default goes back at least to 11 (I'm thinking as early as 9). Confirmed.