]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR objc++/53388 (Removal of build_min_nt breaks bootstrap for objc++)
authorPaolo Carlini <paolo@gcc.gnu.org>
Thu, 17 May 2012 15:28:53 +0000 (15:28 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 17 May 2012 15:28:53 +0000 (15:28 +0000)
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.

From-SVN: r187629

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

index 6fed845690eba4e3132c3261fa6bdf8ef69425e5..ce8dd9ed62a43ba35c947bb6890a53048bfdf1f3 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 ec07971f02de6f728d4a3733ecd97cfed1f3a1f9..b93948e9ee0a88d22cd576776684cfa69e5e0cfe 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);