2018-03-08 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr83317.c
blob5ae0b8d4c59cbec65c2972f01ada2d3d8b7290af
1 /* PR rtl-optimization/83317 */
2 /* { dg-do compile } */
3 /* { dg-options "-O1" } */
4 /* { dg-additional-options "-fPIC" { target fpic } } */
5 /* { dg-additional-options "-msse2 -mfpmath=sse" { target ia32 } } */
7 struct S { double a; };
8 struct S c;
9 int d, e;
10 void *buf[64];
11 extern int setjmp (void **);
13 void
14 foo ()
16 setjmp (buf);
17 struct S g;
18 if (d)
19 g.a = __builtin_copysign (e, d);
20 c = g;