Add new test to verify that the array index, limit, and stride are
[official-gcc.git] / gcc / testsuite / gcc.dg / 20050330-1.c
blob69b5f9dcfe963e98c3e6c98b03cd7e1f74e35c3f
1 /* This test is a reduced test case for a bug that caused
2 ICE while bootstrapping with -fmodulo-sched on powerpc-apple-darwin
3 related to (PR middle-end/20177). */
5 /* { dg-do compile } */
6 /* { dg-options "-O2 -fmodulo-sched" } */
8 void
9 foo ( const char *bytes, int len , char *buf)
11 int i;
12 for ( i = 0; i < len; ++i )
13 buf[i] = bytes[i];