[LLVMdev] GCC DejaGNU regressions

Dan Gohman
Mon, 27 Jul 2009 20:59:47 -0000

On Jul 24, 2009, at 5:01 PM, Stuart Hastings wrote:

> Here's another test that aborts at runtime (it's gcc.dg/pr26719.c):
>
> /* { dg-do compile } */
> /* { dg-do run } */
> /* { dg-options "-O2" } */
>
> void abort (void);
>
> int table[32][256];
>
> int main(void)
> {
>  int i, j;
>
>  for (i = 0; i < 32; i++)
>    for (j = 0; j < 256; j++)
>      table[i][j] = ((signed char)j) * i;
>
>  if (table[9][132] != -1116)
>    abort ();
>
>  return 0;
> }

This one is fixed in r77078.

Dan