annotate gcc/testsuite/gcc.dg/tree-ssa/pr69845-2.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* { dg-do compile } */
kono
parents:
diff changeset
2 /* { dg-require-effective-target int32 } */
kono
parents:
diff changeset
3 /* { dg-options "-O -fdump-tree-gimple -fdump-tree-optimized" } */
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 int
kono
parents:
diff changeset
6 main ()
kono
parents:
diff changeset
7 {
kono
parents:
diff changeset
8 struct S { char s; } v;
kono
parents:
diff changeset
9 v.s = 47;
kono
parents:
diff changeset
10 unsigned int a = (unsigned int) v.s;
kono
parents:
diff changeset
11 unsigned int b = (27005061 + (a + 680455));
kono
parents:
diff changeset
12 unsigned int c
kono
parents:
diff changeset
13 = ((1207142401u * (((8u * b) + 9483541u) - 230968044u)) + 469069442u);
kono
parents:
diff changeset
14 if (c != 1676211843u)
kono
parents:
diff changeset
15 __builtin_abort ();
kono
parents:
diff changeset
16 return 0;
kono
parents:
diff changeset
17 }
kono
parents:
diff changeset
18
kono
parents:
diff changeset
19 /* { dg-final { scan-tree-dump-times "b \\\* 1067204616" 1 "gimple" } } */
kono
parents:
diff changeset
20 /* { dg-final { scan-tree-dump-not "abort" "optimized" } } */