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

            Bug ID: 61523
           Summary: [4.10 regression] Commit 211600 appears to have caused
                    section type conflicts for ARM
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ramana at gcc dot gnu.org

Created attachment 32946
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=32946&action=edit
compressed testcase

./xgcc -B`pwd` -c -O2 -ffunction-sections -fdata-sections /tmp/strstream.ii
-fPIC -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-16 

In file included from /work/gcc/libstdc++-v3/src/c++98/strstream.cc:44:0:
/work/trunk-nightlies/builds/build-210913/armv7l-unknown-linux-gnueabihf/libstdc++-v3/include/backward/strstream:126:9:
error: std::istrstream::_ZTVSt10istrstream.localalias.0 causes a section type
conflict with std::istrstream::_ZTVSt10istrstream
   class istrstream : public basic_istream<char>
         ^
/work/trunk-nightlies/builds/build-210913/armv7l-unknown-linux-gnueabihf/libstdc++-v3/include/backward/strstream:126:9:
note: _std::istrstream::_ZTVSt10istrstream_ was declared here
/work/trunk-nightlies/builds/build-210913/armv7l-unknown-linux-gnueabihf/libstdc++-v3/include/backward/strstream:143:9:
error: std::ostrstream::_ZTVSt10ostrstream.localalias.1 causes a section type
conflict with std::ostrstream::_ZTVSt10ostrstream
   class ostrstream : public basic_ostream<char>
         ^
/work/trunk-nightlies/builds/build-210913/armv7l-unknown-linux-gnueabihf/libstdc++-v3/include/backward/strstream:143:9:
note: _std::ostrstream::_ZTVSt10ostrstream_ was declared here
/work/trunk-nightlies/builds/build-210913/armv7l-unknown-linux-gnueabihf/libstdc++-v3/include/backward/strstream:160:9:
error: std::strstream::_ZTVSt9strstream.localalias.2 causes a section type
conflict with std::strstream::_ZTVSt9strstream
   class strstream : public basic_iostream<char>
         ^
/work/trunk-nightlies/builds/build-210913/armv7l-unknown-linux-gnueabihf/libstdc++-v3/include/backward/strstream:160:9:
note: _std::strstream::_ZTVSt9strstream_ was declared here

Reply via email to