c++/4131: Why the C++ compiler don't place a const class object to ".rodata" section?

rth@gcc.gnu.org rth@gcc.gnu.org
Sun Oct 6 20:08:00 GMT 2002


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



More information about the Gcc-bugs mailing list