summaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2009-03-30 12:59:27 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2009-03-30 12:59:27 +0000
commita3cad4e45e03b201be558abc0b2d7e3d974491f6 (patch)
tree552884cc33c579b4b8f97cf278760daae933de1e /gcc/objc
parent36ac12812c25d4762e24c12a6989ce1cdf493fc3 (diff)
downloadgcc-a3cad4e45e03b201be558abc0b2d7e3d974491f6.tar.gz
2009-03-30 Dominique d'Humieres <dominiq@lps.ens.fr>
PR bootstrap/39583 * objc-act.c (in_late_binary_op): Define for Objective-C++. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145290 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/ChangeLog5
-rw-r--r--gcc/objc/objc-act.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog
index 4a9668fef77..4e26aad210f 100644
--- a/gcc/objc/ChangeLog
+++ b/gcc/objc/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-30 Dominique d'Humieres <dominiq@lps.ens.fr>
+
+ PR bootstrap/39583
+ * objc-act.c (in_late_binary_op): Define for Objective-C++.
+
2009-03-29 Joseph Myers <joseph@codesourcery.com>
PR c/456
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index df3a719ba93..81d63b24dab 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -79,6 +79,11 @@ along with GCC; see the file COPYING3. If not see
static unsigned int should_call_super_dealloc = 0;
+/* When building Objective-C++, we need in_late_binary_op. */
+#ifdef OBJCPLUS
+bool in_late_binary_op = false;
+#endif /* OBJCPLUS */
+
/* When building Objective-C++, we are not linking against the C front-end
and so need to replicate the C tree-construction functions in some way. */
#ifdef OBJCPLUS