Debian Codegraph @

gcc/testsuite/gcc.target/i386/pad-3.c

raw
1 /* { dg-do compile } */
2 /* { dg-skip-if "" { *-*-* } { "-march=*" } { "-march=atom" } } */
3 /* { dg-options "-O2 -fomit-frame-pointer -march=atom -fno-pic" } */
4 /* { dg-final { scan-assembler-not "nop" } } */
5 /* { dg-final { scan-assembler-not "rep" } } */
6
7 int s[8] = {1, 2, 3, 4, 5, 6, 7, 8};
8 int d[8] = {11, 22, 33, 44, 55, 66, 77, 88};
9
10 void
11 foo ()
12 {
13 int i;
14 for (i = 0; i < 8; i++)
15 d[i] = s[i] + 0x1000;
16 }