PR tree-optimization/85826 - ICE in gimple-ssa-warn-restruct on
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr69845-2.c
blobe0b38e9966c20c09d064dc6fae5533c75eabf2d3
1 /* { dg-do compile } */
2 /* { dg-require-effective-target int32 } */
3 /* { dg-options "-O -fdump-tree-gimple -fdump-tree-optimized" } */
5 int
6 main ()
8 struct S { char s; } v;
9 v.s = 47;
10 unsigned int a = (unsigned int) v.s;
11 unsigned int b = (27005061 + (a + 680455));
12 unsigned int c
13 = ((1207142401u * (((8u * b) + 9483541u) - 230968044u)) + 469069442u);
14 if (c != 1676211843u)
15 __builtin_abort ();
16 return 0;
19 /* { dg-final { scan-tree-dump-times "b \\\* 1067204616" 1 "gimple" } } */
20 /* { dg-final { scan-tree-dump-not "abort" "optimized" } } */