aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorStan Shebs <shebs@apple.com>2001-12-11 18:24:17 +0000
committerStan Shebs <shebs@gcc.gnu.org>2001-12-11 18:24:17 +0000
commit4c594031436cb2e700bc8b771dbda082dbcc6e2c (patch)
tree6f03a7019f7bc652fbc077e1a11363a7897033ef /gcc/objc
parent911713157618beaeb432bc646f82a074e4c28435 (diff)
downloadgcc-4c594031436cb2e700bc8b771dbda082dbcc6e2c.zip
gcc-4c594031436cb2e700bc8b771dbda082dbcc6e2c.tar.gz
gcc-4c594031436cb2e700bc8b771dbda082dbcc6e2c.tar.bz2
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
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/objc-act.c4
1 files changed, 2 insertions, 2 deletions
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. */