URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-do run } */
|
/* { dg-do run } */
|
/* { dg-options "-O2" } */
|
/* { dg-options "-O2" } */
|
|
|
void abort (void);
|
void abort (void);
|
|
|
int table[32][256];
|
int table[32][256];
|
|
|
int main(void)
|
int main(void)
|
{
|
{
|
int i, j;
|
int i, j;
|
|
|
for (i = 0; i < 32; i++)
|
for (i = 0; i < 32; i++)
|
for (j = 0; j < 256; j++)
|
for (j = 0; j < 256; j++)
|
table[i][j] = ((signed char)j) * i;
|
table[i][j] = ((signed char)j) * i;
|
|
|
if (table[9][132] != -1116)
|
if (table[9][132] != -1116)
|
abort ();
|
abort ();
|
|
|
return 0;
|
return 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.