[Patch, committed as obvious] obj++/53388
Paolo Carlini
paolo.carlini@oracle.com
Thu May 17 15:17:00 GMT 2012
Hi,
sorry about that, will commit momentarily at the end of a bootstrap.
Thanks,
Paolo.
///////////////////////
-------------- next part --------------
2012-05-17 Paolo Carlini <paolo.carlini@oracle.com>
PR objc++/53388
* objc-act.c (objc_get_class_reference, objc_build_message_expr):
Use build_min_nt_loc.
-------------- next part --------------
Index: objc-act.c
===================================================================
--- objc-act.c (revision 187624)
+++ objc-act.c (working copy)
@@ -3293,7 +3293,7 @@ objc_get_class_reference (tree ident)
#ifdef OBJCPLUS
if (processing_template_decl)
/* Must wait until template instantiation time. */
- return build_min_nt (CLASS_REFERENCE_EXPR, ident);
+ return build_min_nt_loc (UNKNOWN_LOCATION, CLASS_REFERENCE_EXPR, ident);
#endif
if (TREE_CODE (ident) == TYPE_DECL)
@@ -5272,8 +5272,8 @@ objc_build_message_expr (tree receiver, tree messa
#ifdef OBJCPLUS
if (processing_template_decl)
/* Must wait until template instantiation time. */
- return build_min_nt (MESSAGE_SEND_EXPR, receiver, sel_name,
- method_params);
+ return build_min_nt_loc (UNKNOWN_LOCATON, MESSAGE_SEND_EXPR, receiver,
+ sel_name, method_params);
#endif
return objc_finish_message_expr (receiver, sel_name, method_params, NULL);
More information about the Gcc-patches
mailing list