This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/31249] pseudo-optimization with sincos/cexpi
- From: "wschmidt at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 1 Jun 2011 16:59:37 +0000
- Subject: [Bug middle-end/31249] pseudo-optimization with sincos/cexpi
- Auto-submitted: auto-generated
- References: <bug-31249-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31249
William J. Schmidt <wschmidt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wschmidt at gcc dot gnu.org
--- Comment #22 from William J. Schmidt <wschmidt at gcc dot gnu.org> 2011-06-01 16:59:15 UTC ---
It seems we should give targets like darwin a permanent workaround for this
issue. Since config can't correctly determine in all cases whether an
implementation has a "fast enough" sincos/cexp, the few targets where the
current flags don't work should be able to disable the transformation.
I can create a cse-sincos option flag, set on by default for most platforms.
The darwin platform maintainer (and others, if necessary) could add
-fno-cse-sincos to the platform defaults.
Any concerns with this approach?