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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* This test is a reduced test case for a bug that caused
kono
parents:
diff changeset
2 ICE while bootstrapping with -fmodulo-sched on powerpc-apple-darwin
kono
parents:
diff changeset
3 related to (PR middle-end/20177). */
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 /* { dg-do compile } */
kono
parents:
diff changeset
6 /* { dg-options "-O2 -fmodulo-sched" } */
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 void
kono
parents:
diff changeset
9 foo ( const char *bytes, int len , char *buf)
kono
parents:
diff changeset
10 {
kono
parents:
diff changeset
11 int i;
kono
parents:
diff changeset
12 for ( i = 0; i < len; ++i )
kono
parents:
diff changeset
13 buf[i] = bytes[i];
kono
parents:
diff changeset
14 }