[Bug tree-optimization/60971] [4.9/4.10 Regression] Wrong code when coercing unsigned char to bool
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Apr 29 09:29:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60971
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Created attachment 32702
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32702&action=edit
gcc49-pr60971.patch
Agreed, but I'd say the bug is in the tailc pass then, it assumes conversion
from QImode integer type with 8-bit precision to QImode bool type with 1-bit
precision doesn't need any code, when that is not true, during expansion in
those cases we apply REDUCE_BIT_FIELD.
More information about the Gcc-bugs
mailing list