1 /* { dg-do compile } */
2 /* { dg-require-effective-target int32 } */
3 /* { dg-skip-if "" { *-*-* } { "-O0" } { "" } } */
4 /* { dg-additional-options "-fgimple -fdump-tree-fre1" } */
5 
6 typedef int v4si __attribute__((vector_size(16)));
7 
8 int __GIMPLE (ssa,startwith("fre"))
foo()9 foo ()
10 {
11   int * p;
12   int i;
13   int x[4];
14   __SIZETYPE__ _1;
15   __SIZETYPE__ _2;
16   int _7;
17 
18   __BB(2):
19   i_3 = 0;
20   _1 = (__SIZETYPE__) i_3;
21   _2 = _1 * _Literal (__SIZETYPE__) 4;
22   p_4 = _Literal (int *) &x + _2;
23   __MEM <v4si> ((v4si *)p_4) = _Literal (v4si) { 1, 2, 3, 4 };
24   _7 = x[0];
25   return _7;
26 }
27 
28 /* { dg-final { scan-tree-dump "return 1;" "fre1" } } */
29