This is the mail archive of the gcc-help@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]

g++ 4.0: assembler warning


Hello!

I recently installed gcc 4.0 (with debian apt).

When compiling the following program (I tried to reduce it to a
minimum), I get the assembler warning:

musch@debian-amd:~/gcctest$ g++-4.0 -c test.cpp
/tmp/ccUpFBQf.s: Assembler messages:
/tmp/ccUpFBQf.s:675: Warning: ignoring changed section attributes for
.gnu.linkonce.t._ZNSt12_Vector_baseIiSaIiEED2Ev

Programs that compiled with 3.3 produce a whole bunch these warnings and
fail to execute(segfault) after compilation with 4.0.

Hopefully somebody can enlighten me.


(test.s assembly output is attached)

test.cpp:

#include <vector>

//------------------------------------------------------------------------------
class Test
{

 public:
    Test();
    std::vector<int> bar;

};

//------------------------------------------------------------------------------
Test::Test()
{
}

Attachment: test.s.gz
Description: application/gzip


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