URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* This failed with profiling due to a missing check in
|
/* This failed with profiling due to a missing check in
|
tree_flow_call_edges_add. */
|
tree_flow_call_edges_add. */
|
|
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O1 -fprofile-generate" } */
|
/* { dg-options "-O1 -fprofile-generate" } */
|
|
|
static __attribute__ ((always_inline)) void
|
static __attribute__ ((always_inline)) void
|
baz ()
|
baz ()
|
{
|
{
|
}
|
}
|
|
|
static __attribute__ ((always_inline)) int
|
static __attribute__ ((always_inline)) int
|
bar ()
|
bar ()
|
{
|
{
|
out:
|
out:
|
baz ();
|
baz ();
|
goto out;
|
goto out;
|
}
|
}
|
|
|
int
|
int
|
foo ()
|
foo ()
|
{
|
{
|
long res;
|
long res;
|
|
|
res = bar ();
|
res = bar ();
|
}
|
}
|
|
|
/* { dg-final { cleanup-coverage-files } } */
|
/* { dg-final { cleanup-coverage-files } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.