diff options
author | Paolo Carlini <paolo@gcc.gnu.org> | 2012-05-17 15:28:53 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2012-05-17 15:28:53 +0000 |
commit | d7faa110dd439f6406a35661e1c24a3100da1471 (patch) | |
tree | 21c592038c2f418eec4b670067741451048d67c1 /gcc | |
parent | 9b095bf15cf5225b4223d33614d001cd44a501fc (diff) | |
download | gcc-d7faa110dd439f6406a35661e1c24a3100da1471.zip gcc-d7faa110dd439f6406a35661e1c24a3100da1471.tar.gz gcc-d7faa110dd439f6406a35661e1c24a3100da1471.tar.bz2 |
re PR objc++/53388 (Removal of build_min_nt breaks bootstrap for objc++)
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/objc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 6 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 6fed845..ce8dd9e 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -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> diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index ec07971..b93948e 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -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); |