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