From: Dominique d'Humieres Date: Mon, 30 Mar 2009 12:59:27 +0000 (+0200) Subject: re PR bootstrap/39583 (Revision 145255 breaks bootstrap with obj-c++) X-Git-Tag: releases/gcc-4.5.0~7031 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77a08224eed85b4dc2baa566531ee21c8773302a;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 4a9668fef77c..4e26aad210fe 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 df3a719ba937..81d63b24dabe 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