public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* g++ 4.0: assembler warning
@ 2005-07-07 11:10 Muschick Christian
  0 siblings, 0 replies; only message in thread
From: Muschick Christian @ 2005-07-07 11:10 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 845 bytes --]

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 #2: test.s.gz --]
[-- Type: application/gzip, Size: 3309 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-07-07 11:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-07 11:10 g++ 4.0: assembler warning Muschick Christian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).