This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15784] fold misses binary optimization
- 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: 4 Mar 2005 06:26:21 -0000
- Subject: [Bug tree-optimization/15784] fold misses binary optimization
- References: <20040602204532.15784.pinskia@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-03-04 06:26 -------
Reopening as this patch had to reverted as it caused a bootstrap failure on ppc-darwin. I think there
really is a latent bug with -1 - A being converted to ~A and then ~A is constant folded to -1 but it
contains a TREE_OVERFLOW bit turned on which it did not with -1 - A before. (there might be some
unsignedness going on that I don't know about).
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15784