OSDN Git Service

2012-05-17 Paolo Carlini <paolo.carlini@oracle.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 May 2012 15:28:53 +0000 (15:28 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 17 May 2012 15:28:53 +0000 (15:28 +0000)
PR objc++/53388
* objc-act.c (objc_get_class_reference, objc_build_message_expr):
Use build_min_nt_loc.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187629 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/objc/ChangeLog
gcc/objc/objc-act.c

index 6fed845..ce8dd9e 100644 (file)
@@ -1,6 +1,12 @@
+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.
+
 2012-04-20  Jan Hubicka  <jh@suse.cz>
 
-       * objc-acct.c (mark_referenced_methods); Use
+       * objc-act.c (mark_referenced_methods); Use
        cgraph_mark_force_output_node.
 
 2012-03-21  Steven Bosscher  <steven@gcc.gnu.org>
index ec07971..b93948e 100644 (file)
@@ -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 message_args)
 #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_LOCATION, MESSAGE_SEND_EXPR, receiver,
+                            sel_name, method_params);
 #endif
 
   return objc_finish_message_expr (receiver, sel_name, method_params, NULL);