aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDominique d'Humieres <dominiq@lps.ens.fr>2009-03-30 14:59:27 +0200
committerJoseph Myers <jsm28@gcc.gnu.org>2009-03-30 13:59:27 +0100
commit77a08224eed85b4dc2baa566531ee21c8773302a (patch)
tree552884cc33c579b4b8f97cf278760daae933de1e /gcc
parentd7be99f1b0a55d0899bdaecf44ed632744287d95 (diff)
downloadgcc-77a08224eed85b4dc2baa566531ee21c8773302a.zip
gcc-77a08224eed85b4dc2baa566531ee21c8773302a.tar.gz
gcc-77a08224eed85b4dc2baa566531ee21c8773302a.tar.bz2
re PR bootstrap/39583 (Revision 145255 breaks bootstrap with obj-c++)
2009-03-30 Dominique d'Humieres <dominiq@lps.ens.fr> PR bootstrap/39583 * objc-act.c (in_late_binary_op): Define for Objective-C++. From-SVN: r145290
Diffstat (limited to 'gcc')
-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 4a9668f..4e26aad 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 df3a719..81d63b2 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