[Bug middle-end/56574] False possibly uninitialized variable warning
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Mar 8 21:26:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56574
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2013-03-08 21:25:47 UTC ---
(In reply to comment #3)
> Looking at the code that GCC generated (4.7.2 from Fedora and similarly with
> pristine 4.8 trunk@196249):
For -O2, the generated code looks though:
testl %edi, %edi
sete %dl
testl %eax, %eax
setne %al
andl %edx, %eax
Here eax might be uninitialized but that is ok because dl will always be 0 when
it is.
More information about the Gcc-bugs
mailing list