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 c/54192] New: -fno-trapping-math by default?


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54192

             Bug #: 54192
           Summary: -fno-trapping-math by default?
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: glisse@gcc.gnu.org


Hello,

I am not sure about the "component" (I am actually more interested in the C++
behavior, but I assume C and C++ will remain the same), or about posting this
to bugzilla instead of the mailing-list.

I would like to know people's opinion about making -fno-trapping-math the
default. One strong argument in favor is that -fno-rounding-math is the
default. The 2 options are quite similar. They both affect "special" use of
maths, they both inhibit a number of optimizations, and they both have bugs
(not trying to offend anyone here, it is already great that the options are as
far as they are).

As someone who needs -frounding-math and for whom -fno-trapping-math is safe
and helps performance, you can see why I'd like to change it ;-)


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