This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/31249] pseudo-optimization with sincos/cexpi


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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]