mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 03:44:38 +08:00
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
This commit is contained in:
parent
046625fab2
commit
86a43457bf
@ -1,3 +1,8 @@
|
|||||||
|
2005-01-27 Matt Austern <austern@apple.com>
|
||||||
|
|
||||||
|
* objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before
|
||||||
|
calling instantiate_pending_templates.
|
||||||
|
|
||||||
2005-01-26 Alexander Malmberg <alexander@malmberg.org>
|
2005-01-26 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
PR objc/18862
|
PR objc/18862
|
||||||
|
@ -591,6 +591,7 @@ objc_finish_file (void)
|
|||||||
#ifdef OBJCPLUS
|
#ifdef OBJCPLUS
|
||||||
/* We need to instantiate templates _before_ we emit ObjC metadata;
|
/* We need to instantiate templates _before_ we emit ObjC metadata;
|
||||||
if we do not, some metadata (such as selectors) may go missing. */
|
if we do not, some metadata (such as selectors) may go missing. */
|
||||||
|
at_eof = 1;
|
||||||
instantiate_pending_templates (0);
|
instantiate_pending_templates (0);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user