This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/4131] The C++ compiler don't place a const class object to ".rodata" section with non trivial constructor
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jun 2008 02:17:36 -0000
- Subject: [Bug c++/4131] The C++ compiler don't place a const class object to ".rodata" section with non trivial constructor
- References: <bug-4131-3378@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from pinskia at gcc dot gnu dot org 2008-06-11 02:17 -------
Well if done correctly the compiler would see that nonpod.x was used for the
initialization and inline it as zero :). So really this can be still done.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4131