This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/81156] GCC fails to compile a formula with tgmath.h
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Jun 2017 09:20:08 +0000
- Subject: [Bug c/81156] GCC fails to compile a formula with tgmath.h
- Auto-submitted: auto-generated
- References: <bug-81156-4@http.gcc.gnu.org/bugzilla/>
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.