This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Prevent stack variable initialization to zero with -g


* 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]