[C++ PATCH]: name lookup fix

Jason Merrill jason@redhat.com
Thu Jul 17 15:15:00 GMT 2003


On Thu, 17 Jul 2003 13:29:34 +0100, Nathan Sidwell <nathan@codesourcery.com> wrote:

> !       else if (!DECL_MUTABLE_P (decl))
> ! 	/* Set the cv qualifiers */
> ! 	type = cp_build_qualified_type
> ! 	  (type, (cp_type_quals (TREE_TYPE (current_class_ref))
> ! 		  | cp_type_quals (TREE_TYPE (decl))));

mutable doesn't suppress volatile.

Jason



More information about the Gcc-patches mailing list