Can GCC emit debug information to support debug uninitialized local variables
Ian Lance Taylor
iant@google.com
Sun Jun 20 07:02:00 GMT 2010
asmwarrior <asmwarrior@gmail.com> writes:
> My question is: Is there any possible that GCC can emit some debug
> information to indicate that one variable is initialed or not.(at
> least in the DEBUG build mode)
You didn't mention which version of gcc you are testing. With current
gcc see if the -fvar-tracking option helps.
Ian
More information about the Gcc
mailing list