[Bug middle-end/18908] Missed folding opportunities with bools
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Nov 22 21:00:00 GMT 2005
------- Comment #6 from pinskia at gcc dot gnu dot org 2005-11-22 21:00 -------
The current issue with f4 is that (~((int)a)) != 0 is not converted to ((int)a
!= (~0)) which will then fold to 1, this issue with ~a != 0 not being convert
to a != ~0 is PR 24990 which I am working on a fix.
Then the only one left in this bug would be f1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18908
More information about the Gcc-bugs
mailing list