annotate gcc/testsuite/gcc.dg/pr82389.c @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* PR tree-optimization/82389 */
kono
parents:
diff changeset
2 /* { dg-do compile { target lp64 } } */
kono
parents:
diff changeset
3 /* { dg-options "-w -O3" } */
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 struct S { char s[0x40000000]; } s;
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 void
kono
parents:
diff changeset
8 foo (struct S *p)
kono
parents:
diff changeset
9 {
kono
parents:
diff changeset
10 char b[0x0ffffffff0000000L];
kono
parents:
diff changeset
11 *(struct S *)&b[0x0fffffffef000000L] = s;
kono
parents:
diff changeset
12 *p = *(struct S *)&b[0x0fffffffefffffffL];
kono
parents:
diff changeset
13 }