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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [20051201-1.c] - Blame information for rev 701

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

Line No. Rev Author Line
1 689 jeremybenn
/* This failed with profiling due to a missing check in
2
   tree_flow_call_edges_add.  */
3
 
4
/* { dg-do compile } */
5
/* { dg-require-profiling "-fprofile-generate" } */
6
/* { dg-options "-O1 -fprofile-generate -Wno-attributes" } */
7
 
8
static __attribute__ ((always_inline)) void
9
baz ()
10
{
11
}
12
 
13
static __attribute__ ((always_inline)) int
14
bar ()
15
{
16
 out:
17
  baz ();
18
  goto out;
19
}
20
 
21
int
22
foo ()
23
{
24
  long res;
25
 
26
  res = bar ();
27
}

powered by: WebSVN 2.1.0

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