[Bug middle-end/23666] Fold does not reduce C - ~a into a + (C+1)
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Nov 26 21:43:00 GMT 2005
------- Comment #4 from pinskia at gcc dot gnu dot org 2005-11-26 21:43 -------
The problem here is my fault, slightly. Fold is converting -(~a) in the
NEGATE_EXPR but not in the generic functions to do the negation. I will do the
patch for this one. (I am saying that -(~a) is more complex than a+1 which is
true).
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23666
More information about the Gcc-bugs
mailing list