modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/pr55921.c (about) 1 /* PR tree-optimization/55921 */ 2 /* { dg-skip-if "Not enough registers" { "pdp11-*-*" } } */ 3 4 typedef union 5 { 6 _Complex float cf; 7 long long ll; 8 } ucf; 9 10 void 11 foo (ucf *in, ucf *out, _Complex float r) 12 { 13 int i; 14 ucf ucf1; 15 _Complex float cf; 16 17 ucf1.ll = in[i].ll; 18 __asm ("" : "=r" (cf) : "r" (ucf1.ll)); 19 cf *= r; 20 __asm ("" : "=r" (ucf1.ll) : "r" (cf)); 21 out[i].ll = ucf1.ll; 22 }