This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/15347] [tree-ssa] fold if ("<12ers" + 1 == 0).
- 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: 3 Jun 2004 23:22:25 -0000
- Subject: [Bug tree-optimization/15347] [tree-ssa] fold if ("<12ers" + 1 == 0).
- References: <20040509192540.15347.kazu@cs.umass.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-03 23:22 -------
I should note that "12ers" == 0 is folded to false by:
/* If this is an equality comparison of the address of a non-weak
object against zero, then we know the result. */
So improving that part will help.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15347