This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/4131: Why the C++ compiler don't place a const class object to ".rodata" section?
- From: rth at gcc dot gnu dot org
- To: gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, k_satoda at f2 dot dion dot ne dot jp, nobody at gcc dot gnu dot org
- Date: 7 Oct 2002 03:08:19 -0000
- Subject: Re: c++/4131: Why the C++ compiler don't place a const class object to ".rodata" section?
- Reply-to: rth at gcc dot gnu dot org, gcc-bugs at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, k_satoda at f2 dot dion dot ne dot jp, nobody at gcc dot gnu dot org, gcc-gnats at gcc dot gnu dot org
Synopsis: Why the C++ compiler don't place a const class object to ".rodata" section?
State-Changed-From-To: open->analyzed
State-Changed-By: rth
State-Changed-When: Sun Oct 6 20:08:19 2002
State-Changed-Why:
Because it has a non-trivial constructor. This could
probably still be optimized, but it's up to the front end
to tell us that; changed to category c++.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4131