g++ 4.0: assembler warning
Muschick Christian
muschick_christian@aon.at
Thu Jul 7 11:10:00 GMT 2005
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()
{
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.s.gz
Type: application/gzip
Size: 3309 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-help/attachments/20050707/487a9874/attachment.gz>
More information about the Gcc-help
mailing list