URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 384 |
/* { dg-do link } */
|
/* { dg-do link } */
|
/* { dg-options "-O2" } */
|
/* { dg-options "-O2" } */
|
|
|
extern int link_error (int);
|
extern int link_error (int);
|
|
|
int tst2 (int x, int y)
|
int tst2 (int x, int y)
|
{
|
{
|
/* VRP should be able to extract range information for
|
/* VRP should be able to extract range information for
|
x and y out of this TRUTH_AND_EXPR. */
|
x and y out of this TRUTH_AND_EXPR. */
|
if ((x > 5555) && (y < 6666))
|
if ((x > 5555) && (y < 6666))
|
{
|
{
|
if (x > 5555)
|
if (x > 5555)
|
if (y < 6666)
|
if (y < 6666)
|
return 1111;
|
return 1111;
|
else
|
else
|
return link_error (2222);
|
return link_error (2222);
|
else
|
else
|
if (y < 6666)
|
if (y < 6666)
|
return link_error (3333);
|
return link_error (3333);
|
else
|
else
|
return link_error (4444);
|
return link_error (4444);
|
}
|
}
|
else
|
else
|
return 0;
|
return 0;
|
}
|
}
|
|
|
int main()
|
int main()
|
{
|
{
|
return 0;
|
return 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.