libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / pr87273.c
blob43662f0241c4f1bb74a58fd31e9625bca2daf23e
1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-Os -fschedule-insns -fsel-sched-pipelining -fselective-scheduling -fno-ssa-phiopt -fno-tree-loop-im" } */
3 /* { dg-additional-options "-march=core2" { target i?86-*-* x86_64-*-* } } */
5 int sd;
7 void
8 w5 (int n4)
10 long int *vq = (long int *) &n4;
12 while (n4 < 1)
14 int ks;
16 ks = !!(n4 + 1) ? ((++sd) == *vq) : 0;
17 if (ks == 1 / *vq)
18 *vq *= sd;