annotate gcc/testsuite/gcc.dg/tree-ssa/pr80622.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 run } */
kono
parents:
diff changeset
2 /* { dg-options "-O" } */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 struct S { int d; char e; int f; char g; } a;
kono
parents:
diff changeset
5 char c;
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 int
kono
parents:
diff changeset
8 main ()
kono
parents:
diff changeset
9 {
kono
parents:
diff changeset
10 struct S b[][1] = {3, 0, 3, 4, 3, 0, 3, 4, 3, 0, 3, 4, 3, 0, 3, 4, 3,
kono
parents:
diff changeset
11 0, 3, 4, 3, 0, 3, 4, 3, 0, 3, 4, 3, 0, 3, 4, 3, 0,
kono
parents:
diff changeset
12 3, 4, 3, 4, 7, 7, 3, 5, 0, 3, 4, 7, 7, 3, 5, 0, 3,
kono
parents:
diff changeset
13 4, 3, 4, 7, 7, 3, 5, 0, 3, 4, 7, 7, 3, 5, 0, 3, 4};
kono
parents:
diff changeset
14 a = b[4][0];
kono
parents:
diff changeset
15 c = b[4][0].e;
kono
parents:
diff changeset
16 if (a.g != 4)
kono
parents:
diff changeset
17 __builtin_abort ();
kono
parents:
diff changeset
18 return 0;
kono
parents:
diff changeset
19 }