@dimpase And the title is slightly misleading, GCC 15 did not default to -std=c23, it defaults to -std=gnu23 which is slightly different. From https://gcc.gnu.org/gcc-15/changes.html#c
"C23 by default: GCC 15 changes the default language version for C compilation from -std=gnu17 to -std=gnu23. If your code relies on older versions of the C standard, you will need to either add -std= to your build flags, or port your code; see the porting notes."
I'd file a regression, GCC 15 is not yet released ...