1 /* PR tree-optimization/82389 */
2 /* { dg-do compile { target lp64 } } */
3 /* { dg-options "-w -O3" } */
4 
5 struct S { char s[0x40000000]; } s;
6 
7 void
foo(struct S * p)8 foo (struct S *p)
9 {
10   char b[0x0ffffffff0000000L];
11   *(struct S *)&b[0x0fffffffef000000L] = s;
12   *p = *(struct S *)&b[0x0fffffffefffffffL];
13 }
14