[Bug c++/71714] -g flag doubles size
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jun 30 14:32:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71714
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2016-06-30
Ever confirmed|0 |1
Severity|major |normal
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Because debugging information contains many different things.
Stuff like:
1) Types
2) Line information
Types can increases the size with templates too.
You should be able to look the debug info to see where the increase is located.
Also debug information does not get mapped into the memory when running the
program so it won't change the behavior at all; only the on disk size.
More information about the Gcc-bugs
mailing list