This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/14490] [tree-ssa] Simplify "a - 10 > 150" into "a > 160"
- 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 Jun 2005 04:42:36 -0000
- Subject: [Bug tree-optimization/14490] [tree-ssa] Simplify "a - 10 > 150" into "a > 160"
- References: <20040308204220.14490.kazu@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-30 04:42 -------
And I found another latent bug which makes it impossible to bootstrap GCC :(
Here is a short testcase for that bug:
_Bool f();
void g(int);
void h (int old_size)
{
int new_size = old_size, i;
g(old_size - 1);
i = 0;
while (i < old_size - 1)
{
if (f())
{
i++;
continue;
}
while (i < old_size - 1)
i++;
}
g(new_size);
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14490