From 4c594031436cb2e700bc8b771dbda082dbcc6e2c Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Tue, 11 Dec 2001 18:24:17 +0000 Subject: objc-act.c (finish_message_expr): Fix misplaced parens in a test of class names. * objc/objc-act.c (finish_message_expr): Fix misplaced parens in a test of class names. * objc/compile: New test directory. * objc/compile/compile.exp: New expect script. * objc/compile/20011211-1.m: New compile test. From-SVN: r47886 --- gcc/objc/objc-act.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/objc/objc-act.c') diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index bf770e9..03e4b04 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -4851,8 +4851,8 @@ finish_message_expr (receiver, sel_name, method_params) && TREE_STATIC_TEMPLATE (TREE_TYPE (rtype))) statically_typed = 1; else if ((flag_next_runtime - || (IS_ID (rtype) - && (class_ident = receiver_is_class_object (receiver))))) + || (IS_ID (rtype))) + && (class_ident = receiver_is_class_object (receiver))) ; else if (! IS_ID (rtype) /* Allow any type that matches objc_class_type. */ -- cgit v1.1