OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [pr26719.c] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 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.