https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115761
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- You know what the difference in gcc 11 vs GCC 12 is actually dwarf 4 vs dwarf 5. GCC now outputs a lot more debugging information in GCC 12 vs before. You can get the same size back with `-gdwarf-4` option even. I think this is invalid ...