OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.dg/] [pr26719.c] - Blame information for rev 706

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 689 jeremybenn
/* { dg-do compile } */
2
/* { dg-do run } */
3
/* { dg-options "-O2" } */
4
 
5
void abort (void);
6
 
7
int table[32][256];
8
 
9
int main(void)
10
{
11
  int i, j;
12
 
13
  for (i = 0; i < 32; i++)
14
    for (j = 0; j < 256; j++)
15
      table[i][j] = ((signed char)j) * i;
16
 
17
  if (table[9][132] != -1116)
18
    abort ();
19
 
20
  return 0;
21
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.