annotate gcc/testsuite/gcc.dg/20030321-1.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 /* This used to ICE on s390 due to displacement overflow
kono
parents:
diff changeset
2 when accessing the low-order subword. */
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 /* { dg-do compile } */
kono
parents:
diff changeset
5 /* { dg-options "" } */
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 struct array
kono
parents:
diff changeset
8 {
kono
parents:
diff changeset
9 char align[4092];
kono
parents:
diff changeset
10 long long elem[2] __attribute__ ((__packed__)); /* { dg-warning "attribute ignored" "" { target default_packed } } */
kono
parents:
diff changeset
11 };
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 long long
kono
parents:
diff changeset
14 test (struct array *array, int i)
kono
parents:
diff changeset
15 {
kono
parents:
diff changeset
16 return array->elem[i];
kono
parents:
diff changeset
17 }
kono
parents:
diff changeset
18