URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 297 |
Rev 338 |
unsigned
|
unsigned
|
f ()
|
f ()
|
{
|
{
|
long long l2;
|
long long l2;
|
unsigned short us;
|
unsigned short us;
|
unsigned long long ul;
|
unsigned long long ul;
|
short s2;
|
short s2;
|
|
|
ul = us = l2 = s2 = -1;
|
ul = us = l2 = s2 = -1;
|
return ul;
|
return ul;
|
}
|
}
|
|
|
unsigned long long
|
unsigned long long
|
g ()
|
g ()
|
{
|
{
|
long long l2;
|
long long l2;
|
unsigned short us;
|
unsigned short us;
|
unsigned long long ul;
|
unsigned long long ul;
|
short s2;
|
short s2;
|
|
|
ul = us = l2 = s2 = -1;
|
ul = us = l2 = s2 = -1;
|
return ul;
|
return ul;
|
}
|
}
|
|
|
main ()
|
main ()
|
{
|
{
|
if (f () != (unsigned short) -1)
|
if (f () != (unsigned short) -1)
|
abort ();
|
abort ();
|
if (g () != (unsigned short) -1)
|
if (g () != (unsigned short) -1)
|
abort ();
|
abort ();
|
exit (0);
|
exit (0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.