------- Additional Comments From pinskia at gcc dot gnu dot org  2005-07-28 
18:29 -------
Here is a C testcase:
void f(void)
{
  int S3;
  _Bool test2;
  int S1;
  _Bool test0;
  static float rn[4] = {-1.0e+0, -1.0e+0, -1.0e+0, -1.0e+0};
  static float rp[4] =  {1.0e+0, 1.0e+0, 1.0e+0, 1.0e+0};
  _Bool D493;
  int D489;
  _Bool D487;
  int D483;
  test0 = 0;
  S1 = 1;
do{
  if (S1 > 4) break;
  D483 = S1 + -1;
  D487 = __builtin_fabsf (rp[D483] - 1.0f) > 1.e-5f;
  if (D487 != 0)
  {
    test0 = 1;
    break;
  }
  S1 = S1 +1;
  }while(1);
  if (test0) __builtin_abort();
  S3 = 1;
  test2 = 0;
do {
  if (S3 > 4) break;
  D489 = S3 + -1;
  D493 = __builtin_fabsf (rn[D489] + 1.0f) > 1.e-5f;
  if (D493 != 0){
    test2 = 1;
    break;
  }
  S3 = S3 + 1;
} while(1);
  if (test2) __builtin_abort();
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2005-07-22 20:36:49         |2005-07-28 18:29:53
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22619

Reply via email to