------- Comment #13 from pinskia at gcc dot gnu dot org 2006-08-10 17:52 ------- Here is a real reduced testcase:
struct f { f(int a) { t = a; } int t; } const f(1); ----- -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Why the C++ compiler don't |The C++ compiler don't place |place a const class object |a const class object to |to ".rodata" section? |".rodata" section with non | |trival constructor http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4131