1/* PR target/21632 */
2/* { dg-do compile } */
3/* { dg-options "-O2" } */
4
5struct S
6{
7  void *s[256];
8};
9
10struct T
11{
12  long t[23];
13  struct S *u;
14};
15
16extern struct T __attribute__((model (small))) v;
17
18void *
19foo (void)
20{
21  return v.u->s[0];
22}
23
24