This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15785] fold misses unary transformation
- 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: 2 Jun 2004 21:20:04 -0000
- Subject: [Bug tree-optimization/15785] fold misses unary transformation
- References: <20040602210722.15785.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-02 21:20 -------
int f(int x)
{
return - (~x); // should be x-1
}
--
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn|15458 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15785