Implement FINDLOC for UNSIGNED.
[official-gcc.git] / gcc / testsuite / g++.dg / opt / pr64411.C
blob6ecc0a89de27f86184fd2f4eb80419ccd0f01832
1 // PR target/64411
2 // { dg-do compile { target { { i?86-*-* x86_64-*-* } && lp64 } } }
3 // { dg-require-effective-target fpic }
4 // { dg-options "-Os -mcmodel=medium -fPIC -fschedule-insns -fselective-scheduling" }
6 typedef __SIZE_TYPE__ size_t;
8 extern "C"  long strtol ()
9   { return 0; }
11 static struct {
12   void *sp[2];
13 } info;
15 union S813
17   void * c[5];
19 s813;
21 S813 a813[5];
22 S813 check813 (S813, S813 *, S813);
24 void checkx813 ()
26   __builtin_memset (&s813, '\0', sizeof (s813));
27   __builtin_memset (&info, '\0', sizeof (info));
28   check813 (s813, &a813[1], a813[2]);