This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/55152] MAX_EXPR(a,-a) is really ABS_EXPR(a)
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 31 Oct 2012 20:18:58 +0000
- Subject: [Bug middle-end/55152] MAX_EXPR(a,-a) is really ABS_EXPR(a)
- Auto-submitted: auto-generated
- References: <bug-55152-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55152
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-10-31 20:18:58 UTC ---
Only if you ignore signed zeros and maybe even NaNs.