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).  */
       4   
       5  /* { dg-do compile } */
       6  /* { dg-options "-O2 -fmodulo-sched" } */
       7  
       8  void  
       9  foo ( const char *bytes, int len , char *buf)
      10  {
      11    int i;
      12    for ( i = 0; i < len; ++i )
      13      buf[i] = bytes[i];
      14  }