Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.c-torture/compile/pr55921.c @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children | 84e7813d76e9 |
line wrap: on
line source
/* PR tree-optimization/55921 */ typedef union { _Complex float cf; long long ll; } ucf; void foo (ucf *in, ucf *out, _Complex float r) { int i; ucf ucf1; _Complex float cf; ucf1.ll = in[i].ll; __asm ("" : "=r" (cf) : "r" (ucf1.ll)); cf *= r; __asm ("" : "=r" (ucf1.ll) : "r" (cf)); out[i].ll = ucf1.ll; }