[Bug c++/22575] immutable object placed in .bss section.

bangerth at dealii dot org gcc-bugzilla@gcc.gnu.org
Thu Jul 21 23:11:00 GMT 2005


------- Additional Comments From bangerth at dealii dot org  2005-07-21 23:00 -------
No, icc puts it into bss and runs code to initialize it with 7: 
 
	.bss 
	.align 4 
	.globl _ZN3obj5sevenE 
_ZN3obj5sevenE: 
	.type	_ZN3obj5sevenE,@object 
	.size	_ZN3obj5sevenE,4 
	.space 4	# pad 
	.data 
	.align 4 
 
W. 

-- 


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



More information about the Gcc-bugs mailing list