This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Avoid setting MEM_READONLY_P on decls that are not really read-only (PR regression/19813) (take 2)


On Thu, Feb 17, 2005 at 07:00:23PM -0500, Jakub Jelinek wrote:
> 	PR c++/19813
> 	* emit-rtl.c (set_mem_attributes_minus_bitpos): Add assertion
> 	that ref to be marked MEM_READONLY_P doesn't have base that needs
> 	constructing.
> 
> 	* decl.c (start_decl_1): Clear TREE_READONLY flag if
> 	its type has TYPE_NEEDS_CONSTRUCTING.
> 	(complete_vars): Likewise.

Ok.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]