Prevent stack variable initialization to zero with -g

Florian Weimer fw@deneb.enyo.de
Wed Nov 9 12:48:00 GMT 2005


* Stuart Brooks:

> I recall reading somewhere (can't seem to find it now) that, when
> compiling with -g, all stack variables are zeroed.

This is not the case; compiling with debugging information does not
change the generated machine code.



More information about the Gcc-help mailing list