OSDN Git Service

* gcc.dg/pr34856.c: Condition use of -maltivec on
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / 20050330-1.c
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 }