Testcase: float _Complex quantum_cexp(float phi) { return __builtin_cos(phi) + 1i * __builtin_sin(phi); } --- CUT ---- We should able to change cos/sin here into cosf/sinf (and then into cexpfi). This shows up in libquantum (which is part of SPEC 2k6 but the sources I am using to test are the open soruce ones and not the SPEC 2k6 ones).
Confirmed.
This testcase has been fixed so closing as such.