g++ 4.0: assembler warning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux