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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20051201-1.c] - Rev 154

Go to most recent revision | 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-options "-O1 -fprofile-generate" } */
 
static __attribute__ ((always_inline)) void 
baz ()
{
}
 
static __attribute__ ((always_inline)) int
bar ()
{
 out:
  baz ();
  goto out;
}
 
int
foo ()
{
  long res;
 
  res = bar ();
}
 
/* { dg-final { cleanup-coverage-files } } */
 

Go to most recent revision | 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.