Add qdf24xx base tuning support.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr40971.c
blob31dfd5e13989812cb023b7dce6e3ae992ddee7c7
1 /* PR target/40971 */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fstack-protector -fno-strict-aliasing" } */
4 /* { dg-require-effective-target fstack_protector } */
6 extern void bar (char *);
8 void
9 foo (int f, long a)
12 char d[32768];
13 bar (d);
15 double b = f;
16 while (a)
18 char c[sizeof (double)];
19 __builtin_memcpy (c, &b, sizeof (c));
20 if (*(double *) c != 2.0)
21 break;