https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117289
--- Comment #5 from David Faust <david.faust at oracle dot com> --- For BTF this is OK. The duplication with -std=gnu23 is not ideal, obviously, since it causes unnecessary bloat. But the resulting BTF information is still correct, if not "optimal".