[Bug libstdc++/47662] New: [4.6 Regression] -fno-operator-names no longer works with STL headers

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Feb 9 14:18:00 GMT 2011


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

           Summary: [4.6 Regression] -fno-operator-names no longer works
                    with STL headers
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jakub@gcc.gnu.org


echo '#include <iostream>' | g++ -fno-operator-names -xc++ - -o /tmp/x.s

no longer works, as bits/c++config.h now uses
#if defined(_GLIBCXX_DEBUG) or defined(_GLIBCXX_PROFILE)

any reason why it can't use || instead of or?



More information about the Gcc-bugs mailing list