From 77a08224eed85b4dc2baa566531ee21c8773302a Mon Sep 17 00:00:00 2001 From: Dominique d'Humieres Date: Mon, 30 Mar 2009 14:59:27 +0200 Subject: [PATCH] re PR bootstrap/39583 (Revision 145255 breaks bootstrap with obj-c++) 2009-03-30 Dominique d'Humieres PR bootstrap/39583 * objc-act.c (in_late_binary_op): Define for Objective-C++. From-SVN: r145290 --- gcc/objc/ChangeLog | 5 +++++ gcc/objc/objc-act.c | 5 +++++ 2 files changed, 10 insertions(+) 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 + + PR bootstrap/39583 + * objc-act.c (in_late_binary_op): Define for Objective-C++. + 2009-03-29 Joseph Myers 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