[LLVMdev] GCC DejaGNU regressions

Dan Gohman gohman at apple.com
Mon Jul 27 13:59:47 PDT 2009


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




More information about the llvm-dev mailing list