URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 816 |
Rev 826 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O1" } */
|
/* { dg-options "-O1" } */
|
|
|
/* A test for unreachable blocks removal -- bind_expr whose entry is
|
/* A test for unreachable blocks removal -- bind_expr whose entry is
|
unreachable, but it contains reachable statements. */
|
unreachable, but it contains reachable statements. */
|
|
|
void foo(void)
|
void foo(void)
|
{
|
{
|
if (1)
|
if (1)
|
{
|
{
|
goto bla;
|
goto bla;
|
}
|
}
|
else
|
else
|
{
|
{
|
xxx:
|
xxx:
|
{
|
{
|
bla:
|
bla:
|
bar ();
|
bar ();
|
return;
|
return;
|
}
|
}
|
goto xxx;
|
goto xxx;
|
}
|
}
|
}
|
}
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.