PR tree-optimization/78162: Reject negative offsets in store merging early
[official-gcc.git] / gcc / testsuite / gcc.c-torture / compile / pr78162.c
blob743d4e678b5b8c9a7ee6fb45254f86212523d59c
1 /* PR tree-optimization/78162.
2 Handle negative offsets in store merging gracefully. */
4 int a, b[1][2];
6 void fn1()
8 for (a = 0; a < 2; a++)
9 b[-1][a] = 0;