OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20051201-1.c] - Blame information for rev 645

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

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

powered by: WebSVN 2.1.0

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