Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr32219-9.c

raw
1 /* { dg-do compile { target *-*-linux* } } */
2 /* { dg-require-effective-target pie_copyreloc } */
3 /* { dg-options "-O2 -fpie" } */
4
5 /* Uninitialized common symbol with -fpie. */
6 int xxx;
7
8 int
9 foo ()
10 {
11 return xxx;
12 }
13
14 /* { dg-final { scan-assembler "movl\[ \t\]xxx\\(%rip\\), %eax" { target { ! ia32 } } } } */
15 /* { dg-final { scan-assembler-not "xxx@GOTPCREL" { target { ! ia32 } } } } */