https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121209
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- So this depends on the C23 tag rules. Note clang errors out only on the second program and not the first. I am not 100% sure which is correct.