diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-17 15:28:53 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-05-17 15:28:53 +0000 |
commit | 009ec0e54e4980f943b59366f465a3e5d85fcfec (patch) | |
tree | 21c592038c2f418eec4b670067741451048d67c1 /gcc/objc | |
parent | db490cb60617aeb04e2e2e6633b258237d581a31 (diff) | |
download | gcc-009ec0e54e4980f943b59366f465a3e5d85fcfec.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@187629 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-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 6fed845690e..ce8dd9ed62a 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 ec07971f02d..b93948e9ee0 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); |