Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/gcc.dg/20050330-1.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
rev | line source |
---|---|
111 | 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 } |