public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "bjoern dot haase at de dot bosch dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/4131] The C++ compiler don't place a const class object to ".rodata" section with non trival constructor
Date: Fri, 11 Aug 2006 07:49:00 -0000	[thread overview]
Message-ID: <20060811074853.12117.qmail@sourceware.org> (raw)
In-Reply-To: <bug-4131-3378@http.gcc.gnu.org/bugzilla/>



------- Comment #15 from bjoern dot haase at de dot bosch dot com  2006-08-11 07:48 -------
I just realized that yesterday the subject line has been changed.

I'd like to suggest that this new subject line is mis-leading:

The compiler doesn't place ANY object in .rodata . It's not necessary to have
a "non-trivial" constructor.
E.g. have a look at the constructors of the complex class template. There isn't
any statement in the constructor. There is only the initialization of the
member POD for the real and imaginary parts.

If one changes the subject line, I think that 

"the compiler don't place any const class object to .rodata"

would be appropriate.

Bjoern.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4131


  parent reply	other threads:[~2006-08-11  7:49 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-4131-3378@http.gcc.gnu.org/bugzilla/>
2005-11-18  0:51 ` [Bug c++/4131] Why the C++ compiler don't place a const class object to ".rodata" section? pinskia at gcc dot gnu dot org
2005-11-18  0:55 ` pinskia at gcc dot gnu dot org
2005-11-18  0:55 ` pinskia at gcc dot gnu dot org
2006-08-10 12:11 ` bjoern dot haase at de dot bosch dot com
2006-08-10 16:54 ` mrs at apple dot com
2006-08-10 17:53 ` [Bug c++/4131] The C++ compiler don't place a const class object to ".rodata" section with non trival constructor pinskia at gcc dot gnu dot org
2006-08-10 19:34 ` bjoern dot m dot haase at web dot de
2006-08-11  7:49 ` bjoern dot haase at de dot bosch dot com [this message]
2006-08-11  8:04 ` [Bug c++/4131] The C++ compiler don't place a const class object to ".rodata" section with non trivial constructor pinskia at gcc dot gnu dot org
2006-08-17 14:36 ` bjoern dot m dot haase at web dot de
2006-11-29 23:22 ` pinskia at gcc dot gnu dot org
2007-05-02 13:56 ` pinskia at gcc dot gnu dot org
2008-06-11  0:08 ` jorg dot brown at gmail dot com
2008-06-11  2:18 ` pinskia at gcc dot gnu dot org
2008-06-11 18:06 ` jyasskin at gmail dot com
2010-06-27 22:10 ` pinskia at gcc dot gnu dot org
2010-06-28 11:05 ` jakub at gcc dot gnu dot org
2010-06-28 11:22 ` jakub at gcc dot gnu dot org

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=20060811074853.12117.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@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).