aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr78162.c
blob: 743d4e678b5b8c9a7ee6fb45254f86212523d59c (plain)
1
2
3
4
5
6
7
8
9
10
/* PR tree-optimization/78162.
   Handle negative offsets in store merging gracefully.  */

int a, b[1][2];

void fn1()
{
  for (a = 0; a < 2; a++)
    b[-1][a] = 0;
}