This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/14490] [tree-ssa] Simplify "a - 10 > 150" into "a > 160"


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]