1// { dg-do run } 2// { dg-options "-ftree-loop-distribute-patterns" } 3 4extern "C" void abort (void); 5extern "C" int memcmp (const void *, const void *, __SIZE_TYPE__); 6 7bool b1[8]; 8bool b2[8] = { true, true, true, true, true, true, true, true }; 9 10int main() 11{ 12 unsigned int i; 13 for(i=0 ; i < 8; i++) 14 b1[i] = true; 15 16 if (memcmp (b1, b2, 8) != 0) 17 abort (); 18 19 return 0; 20} 21