This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/23295] fold does not simplify -a - (5) to (-5) - a
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Nov 2005 16:51:19 -0000
- Subject: [Bug middle-end/23295] fold does not simplify -a - (5) to (-5) - a
- References: <bug-23295-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pinskia at gcc dot gnu dot org 2005-11-30 16:51 -------
Note fixing this will also fix PR 23666 after my patch for moving "- ~a = a+1"
to negate_expr.
But this needs to depend on the fix for PR 25125 since otherwise we expose a
latent bug in convert.c which shows up in the testsuite.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |25125
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23295