This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/18908] Missed folding opportunities with bools



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]