[Bug middle-end/23237] [4.1 Regression] -O1 rejects valid code (xxx causes a section type conflict).

jconner at apple dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 24 16:36:00 GMT 2005


------- Additional Comments From jconner at apple dot com  2005-08-24 16:17 -------
The declaration of the variable "actions" (in the given example) is being changed to READONLY by the ipa-
reference pass (in function static_execute), so when it comes time to create the section in 
"named_section", the default flags do not include SECTION_WRITE, and so they conflict with the flags for 
the variable "message", producing the error message.


-- 


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



More information about the Gcc-bugs mailing list