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

bjoern dot haase at de dot bosch dot com gcc-bugzilla@gcc.gnu.org
Thu Aug 10 12:11:00 GMT 2006



------- Comment #11 from bjoern dot haase at de dot bosch dot com  2006-08-10 12:11 -------
Hi,

here is a much simpler test case for this issue.

Bjoern.



#include <complex>

using namespace std;

const complex<char> should_be_in_rodata (42,-42);
complex<char> should_be_in_data (42,-42);
complex<char> should_be_in_bss;


-- 

bjoern dot haase at de dot bosch dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bjoern dot haase at de dot
                   |                            |bosch dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4131



More information about the Gcc-bugs mailing list