===================================================================
@@ -6409,7 +6409,7 @@ objc_build_message_expr (tree mess)
method_params = args;
}
#endif
-
+
#ifdef OBJCPLUS
if (processing_template_decl)
/* Must wait until template instantiation time. */
@@ -6455,6 +6455,9 @@ objc_finish_message_expr (tree receiver, tree sel_
tree selector, retval, class_tree;
int self, super, have_cast;
+ /* If we have an instance, then it has been used/read. */
+ mark_exp_read (receiver);
+
/* Extract the receiver of the message, as well as its type
(where the latter may take the form of a cast or be inferred
from the implementation context). */