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 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2" } */
|
/* { dg-options "-O2" } */
|
|
|
/* This was causing a failure in the out of SSA pass because VRP was
|
/* This was causing a failure in the out of SSA pass because VRP was
|
trying to insert assertions for SSA names that flow through
|
trying to insert assertions for SSA names that flow through
|
abnormal edges. */
|
abnormal edges. */
|
void f(int) __attribute__((__noreturn__));
|
void f(int) __attribute__((__noreturn__));
|
int d(const char *);
|
int d(const char *);
|
char * j ();
|
char * j ();
|
|
|
char *
|
char *
|
foo (int x)
|
foo (int x)
|
{
|
{
|
char *path = __null;
|
char *path = __null;
|
try
|
try
|
{
|
{
|
path = j ();
|
path = j ();
|
if (path != __null)
|
if (path != __null)
|
if (d (path) != 0)
|
if (d (path) != 0)
|
f (127);
|
f (127);
|
f (127);
|
f (127);
|
}
|
}
|
catch (...) { }
|
catch (...) { }
|
|
|
return path;
|
return path;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.