[Bug middle-end/80328] With -ffloat-store std::array operator[] no longer cost-free

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Apr 6 10:03:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80328

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #3 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Yeah, -fexcess-precision= is not an option for C++, but still, if you use
-ffloat-store, you need to be prepared for severe performance degradation.  If
you have several levels of abstraction as you have in the std::array case, you
need to accept that those abstractions might introduce some extra stores.


More information about the Gcc-bugs mailing list