[Bug c++/4131] The C++ compiler don't place a const class object to ".rodata" section with non trival constructor

2006-08-11 Thread bjoern dot haase at de dot bosch dot com
--- 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

[Bug c++/4131] The C++ compiler don't place a const class object to ".rodata" section with non trival constructor

2006-08-10 Thread bjoern dot m dot haase at web dot de
--- Comment #14 from bjoern dot m dot haase at web dot de 2006-08-10 19:33 --- I had already a look at the code in the cp directory. Unfortunately the documentation of the c++ front-end seems to be still worse than the docs on the back-ends (i.e. RTL). Either it is virtually inexisting

[Bug c++/4131] The C++ compiler don't place a const class object to ".rodata" section with non trival constructor

2006-08-10 Thread pinskia at gcc dot gnu dot org
--- 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 -