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.