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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [visibility-20.c] - Blame information for rev 801

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

Line No. Rev Author Line
1 689 jeremybenn
/* PR target/39175 */
2
/* { dg-do compile } */
3
/* { dg-require-visibility "" } */
4
/* { dg-options "-O2 -fvisibility=hidden -fpic" { target fpic } } */
5
 
6
__attribute__((noinline)) int
7
foo (int x)
8
{
9
  return x;
10
}
11
 
12
int foo (int x);
13
 
14
int
15
bar (int x)
16
{
17
  return foo (x);
18
}

powered by: WebSVN 2.1.0

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