OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [inline-2.c] - Blame information for rev 867

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
/* Ensure that we continue to consider FOO local, even though
2
   it has been deferred.  */
3
/* { dg-do compile { target fpic } } */
4
/* { dg-options "-O3 -finline-limit=0 -fpic" } */
5
 
6
static int foo(void)
7
{
8
  return 3;
9
}
10
 
11
int bar(void)
12
{
13
  /* Call twice to avoid bypassing the limit for functions called once.  */
14
  return foo() + foo() + 1;
15
}
16
 
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*-*-* } } } */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.