public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Muschick Christian <muschick_christian@aon.at>
To: gcc-help@gcc.gnu.org
Subject: g++ 4.0: assembler warning
Date: Thu, 07 Jul 2005 11:10:00 -0000	[thread overview]
Message-ID: <42CD0DB2.6030003@aon.at> (raw)

[-- 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 --]

                 reply	other threads:[~2005-07-07 11:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42CD0DB2.6030003@aon.at \
    --to=muschick_christian@aon.at \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).