* config/alpha/alpha.md (call_value_osf_1_er peepholes): Fix typo. * gcc.dg/inline-2.c: New. * lib/scanasm.exp (scan-assembler): Remove optional vmessage arg. Add optional target arg. Check number of arguments. (scan-assembler-not, scan-assembler-dem): Likewise. (scan-assembler-dem-not): Likewise. From-SVN: r49166
19 lines
449 B
C
19 lines
449 B
C
/* Ensure that we continue to consider FOO local, even though
|
|
it has been deferred. */
|
|
/* { dg-do compile } */
|
|
/* { dg-options "-O3 -finline-limit=0 -fpic" } */
|
|
|
|
static int foo(void)
|
|
{
|
|
return 3;
|
|
}
|
|
|
|
int bar(void)
|
|
{
|
|
return foo() + 1;
|
|
}
|
|
|
|
/* { dg-final { scan-assembler "bsr" { target alpha*-*-* } } } */
|
|
/* { dg-final { scan-assembler-not "PLT" { target i?86-*-* } } } */
|
|
/* { dg-final { scan-assembler-not "plt" { target powerpc*-*-* } } } */
|