From: Matt Austern Date: Fri, 28 Jan 2005 05:54:55 +0000 (+0000) Subject: objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before calling instantiate_... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86a43457bf2d5035183bf5dda62c4fc336af06a4;p=gcc.git objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before calling instantiate_pending_templates. * objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before calling instantiate_pending_templates. From-SVN: r94362 --- diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 5d311f1ff00..377e1eaf801 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,8 @@ +2005-01-27 Matt Austern + + * objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before + calling instantiate_pending_templates. + 2005-01-26 Alexander Malmberg PR objc/18862 diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 8fd6257915e..71748166efb 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -591,6 +591,7 @@ objc_finish_file (void) #ifdef OBJCPLUS /* We need to instantiate templates _before_ we emit ObjC metadata; if we do not, some metadata (such as selectors) may go missing. */ + at_eof = 1; instantiate_pending_templates (0); #endif