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/31029] Fold does not fold C - a == a



------- Comment #7 from rguenth at gcc dot gnu dot org  2008-11-02 18:23 -------
Actually we can fold C - a == a only for odd C.
But more generally a +- b == a to b == 0.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31029


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