https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81156
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2017-06-22 Ever confirmed|0 |1 --- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> --- A workaround is to split the expression and use temporaries -- with the disadvantage of needing to spell out the intermediate type explicitely. Not sure how we'd do __builtin_tgmath but I know how we'd do __builtin_tgpow, etc.