111
|
1 // PR target/64411
|
|
2 // { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } }
|
|
3 // { dg-options "-Os -mcmodel=medium -fPIC -fschedule-insns -fselective-scheduling" }
|
|
4
|
|
5 typedef __SIZE_TYPE__ size_t;
|
|
6
|
|
7 extern "C" long strtol ()
|
|
8 { return 0; }
|
|
9
|
|
10 static struct {
|
|
11 void *sp[2];
|
|
12 } info;
|
|
13
|
|
14 union S813
|
|
15 {
|
|
16 void * c[5];
|
|
17 }
|
|
18 s813;
|
|
19
|
|
20 S813 a813[5];
|
|
21 S813 check813 (S813, S813 *, S813);
|
|
22
|
|
23 void checkx813 ()
|
|
24 {
|
|
25 __builtin_memset (&s813, '\0', sizeof (s813));
|
|
26 __builtin_memset (&info, '\0', sizeof (info));
|
|
27 check813 (s813, &a813[1], a813[2]);
|
|
28 }
|