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

Subversion Repositories openrisc_me

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

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

Line No. Rev Author Line
1 298 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.