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] - Rev 689

Compare with Previous | Blame | View Log

/* This failed with profiling due to a missing check in
   tree_flow_call_edges_add.  */
 
/* { dg-do compile } */
/* { dg-require-profiling "-fprofile-generate" } */
/* { dg-options "-O1 -fprofile-generate -Wno-attributes" } */
 
static __attribute__ ((always_inline)) void 
baz ()
{
}
 
static __attribute__ ((always_inline)) int
bar ()
{
 out:
  baz ();
  goto out;
}
 
int
foo ()
{
  long res;
 
  res = bar ();
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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