testsuite: Add -Wno-psabi to vshuf-mem.C test
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / reassoc-20.c
bloba7d57f12600274b45f4ae4761f9393cd562425d9
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 unsigned int a, b, c, d;
5 extern int printf (const char *, ...);
6 int main(void)
8 unsigned int e;
9 unsigned int f;
10 /* We should be able to transform these into the same expression, and only have two additions. */
11 e = a + b;
12 e = e + c;
13 f = c + a;
14 f = f + b;
15 printf ("%d %d\n", e, f);
18 /* { dg-final { scan-tree-dump-times "\[ab\].\?.._. \\\+ \[ab\].\?.._." 1 "optimized" } } */
19 /* { dg-final { scan-tree-dump-times " \\\+ " 2 "optimized" } } */