Debian Codegraph @

gcc/testsuite/gcc.target/i386/pr83317.c

raw
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 } } */
6
7 struct S { double a; };
8 struct S c;
9 int d, e;
10 void *buf[64];
11 extern int setjmp (void **);
12
13 void
14 foo ()
15 {
16 setjmp (buf);
17 struct S g;
18 if (d)
19 g.a = __builtin_copysign (e, d);
20 c = g;
21 }