aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.dg/20050330-1.c
blob: 69b5f9dcfe963e98c3e6c98b03cd7e1f74e35c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* This test is a reduced test case for a bug that caused 
   ICE while bootstrapping with -fmodulo-sched on powerpc-apple-darwin
   related to (PR middle-end/20177).  */
 
/* { dg-do compile } */
/* { dg-options "-O2 -fmodulo-sched" } */

void  
foo ( const char *bytes, int len , char *buf)
{
  int i;
  for ( i = 0; i < len; ++i )
    buf[i] = bytes[i];
}