URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 378 |
/* 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 } } */
|
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.