From 86a43457bf2d5035183bf5dda62c4fc336af06a4 Mon Sep 17 00:00:00 2001 From: Matt Austern Date: Fri, 28 Jan 2005 05:54:55 +0000 Subject: [PATCH] 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 --- gcc/objc/ChangeLog | 5 +++++ gcc/objc/objc-act.c | 1 + 2 files changed, 6 insertions(+) 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 -- 2.30.2