http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60554
--- Comment #2 from Luchezar Belev <l_belev at yahoo dot com> --- sorry, the above code to be correct "setg %al" should be "seta %al" instead. also in the compiler-generated code, the testl instruction is still redundant, but when it is removed the following "setg %al" should be replaced with "seta %al". Maybe this is too complicated for a compiler to figure out though.