Require target lra in gcc.dg/pr108095.c
[official-gcc.git] / gcc / testsuite / gcc.dg / store_merging_17.c
blob76e6b638e746a84bbac41ed19867fd650db453f8
1 /* PR tree-optimization/83241 */
2 /* { dg-do compile { target store_merge } } */
3 /* { dg-options "-O2" } */
5 struct S { int a; short b[32]; } e;
6 struct T { volatile int c; int d; } f;
8 void
9 foo ()
11 struct T g = f;
12 e.b[0] = 6;
13 e.b[1] = 6;
14 e.b[4] = g.d;
15 e.b[5] = g.d >> 16;
16 e.a = 1;