https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118112
--- Comment #14 from David Malcolm <dmalcolm at gcc dot gnu.org> --- The above patch (r15-6838-ga236f70617213343f3075ee43e8d9f5882dca400) implements this for the C frontend for GCC 15. It seem like we'd need to add a new flag to support a special-casing things for the C23 case: see: https://gcc.gnu.org/pipermail/gcc-patches/2025-January/673354.html but the patch should at least help with the C23 migration. Remaining work is to implement this for the C++ frontend, but as noted here I'm punting this to a future release: https://gcc.gnu.org/pipermail/gcc-patches/2025-January/673391.html