summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-10 02:48:07 +0000
committerzlaski <zlaski@138bc75d-0d04-0410-961f-82ee72b054a4>2004-02-10 02:48:07 +0000
commite9da9b2c6978f5d11df096f835b49d1827f23050 (patch)
tree590764a0bfb3be3774c35d79eada46894601e2ab
parente060c9dfada09e5597b92fd8e60e917d8bef51af (diff)
downloadppe42-gcc-e9da9b2c6978f5d11df096f835b49d1827f23050.tar.gz
ppe42-gcc-e9da9b2c6978f5d11df096f835b49d1827f23050.zip
2004-02-09 Ziemowit Laski <zlaski@apple.com>
* objc/objc-act.c (get_super_receiver): Move '#ifdef OBJCPLUS' boundaries outside build_component_ref() call (a macro in ObjC++). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77584 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/objc/objc-act.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3b19517e936..0475bee9baa 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-09 Ziemowit Laski <zlaski@apple.com>
+
+ * objc/objc-act.c (get_super_receiver): Move '#ifdef OBJCPLUS'
+ boundaries outside build_component_ref() call (a macro in ObjC++).
+
2004-02-09 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa-protos.h (xtensa_copy_incoming_a7): Update.
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 70434c53dad..2274124b8b1 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -7890,10 +7890,11 @@ get_super_receiver (void)
super_expr_list = build_tree_list (NULL_TREE, super_expr);
/* Set class to begin searching. */
- super_expr = build_component_ref (UOBJC_SUPER_decl,
#ifdef OBJCPLUS
+ super_expr = build_component_ref (UOBJC_SUPER_decl,
get_identifier ("super_class"));
#else
+ super_expr = build_component_ref (UOBJC_SUPER_decl,
get_identifier ("class"));
#endif
OpenPOWER on IntegriCloud