libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / ssa-fre-69.c
blobe2ce28ecc8772810d7c3e52f970083d925487e32
1 /* { dg-do compile } */
2 /* { dg-options "-fgimple -O1 -fdump-tree-fre1" } */
4 int a[10];
5 typedef int v2si __attribute__((vector_size(__SIZEOF_INT__*2)));
6 int __GIMPLE (ssa,guessed_local(97603132),startwith("fre1"))
7 foo ()
9 int i;
10 int _59;
11 int _44;
12 int _13;
13 int _18;
14 v2si _80;
15 v2si _81;
16 int res;
18 __BB(2,guessed_local(97603132)):
19 _59 = 64;
20 i_61 = 9;
21 _44 = i_61 * i_61;
22 _80 = _Literal (v2si) {_59, _44};
23 _81 = _80;
24 __MEM <v2si> ((int *)&a + _Literal (int *) 32) = _81;
25 i_48 = 9;
26 _13 = a[8];
27 _18 = a[i_48];
28 res_15 = _13 + _18;
29 return res_15;
32 /* { dg-final { scan-tree-dump "return 145;" "fre1" } } */