index.html (3.10): Add note about mips atomicity.h.
[official-gcc.git] / gcc / testsuite / gcc.dg / inline-2.c
blob28991bccb9f639879155534f4380cee4eefb28ac
1 /* Ensure that we continue to consider FOO local, even though
2 it has been deferred. */
3 /* { dg-do compile } */
4 /* { dg-options "-O3 -finline-limit=0 -fpic" } */
5 /* { dg-warning "not supported" "PIC unsupported" { target cris-*-elf* cris-*-aout* mmix-*-* } 0 } */
7 static int foo(void)
9 return 3;
12 int bar(void)
14 return foo() + 1;
17 /* { dg-final { scan-assembler-not "jsr" { target alpha*-*-* } } } */
18 /* { dg-final { scan-assembler-not "PLT" { target i?86-*-* x86_64-*-* } } } */
19 /* { dg-final { scan-assembler-not "plt" { target powerpc*-*-* } } } */