1/* Verify that we don't ICE by forming invalid addresses for unaligned
2   doubleword loads (originally for PPC64).  */
3
4struct a
5{
6 unsigned int x;
7 unsigned short y;
8} __attribute__((packed));
9
10struct b {
11 struct a rep;
12 unsigned long long seq;
13} __attribute__((packed));
14
15struct c {
16 int x;
17 struct a a[5460];
18 struct b b;
19};
20
21extern void use_ull(unsigned long long);
22extern void f(struct c *i) {
23  use_ull(i->b.seq);
24  return;
25}
26