This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17100] Missed opportunity for value range 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: 24 Apr 2005 11:48:42 -0000
- Subject: [Bug tree-optimization/17100] Missed opportunity for value range optimization
- References: <20040819145911.17100.steinmtz@us.ibm.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-24 11:48 -------
i_8: VARYING
# i_8 = PHI <0(0), i_10(4)>;
<L2>:;
if (i_8 == -5) goto <L3>; else goto <L8>;
i_10 = i_8 + 1;
if (i_10 <= 9) goto <L2>; else goto <L6>;
i_10: [1, 2147483647]
Hmm, isn't i_10 signed still so why between 1 and -1, that does not make sense.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17100