diff options
author | Zack Weinberg <zack@codesourcery.com> | 2004-05-09 21:26:58 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2004-05-09 21:26:58 +0000 |
commit | eecec6986c626e8a552b41f91bafc1f898d55b9a (patch) | |
tree | a97651f0372e55a005965094df6f8f2eba9540d7 /gcc/java/class.c | |
parent | eb01299a99cd979f866e896f7deeedcc144db927 (diff) | |
download | gcc-eecec6986c626e8a552b41f91bafc1f898d55b9a.zip gcc-eecec6986c626e8a552b41f91bafc1f898d55b9a.tar.gz gcc-eecec6986c626e8a552b41f91bafc1f898d55b9a.tar.bz2 |
re PR c/15007 (crash when including precompiled header with -include)
PR 15007
* c-decl.c (current_file_decl): Rename to all_translation_units,
adjust comment.
(pop_scope): If popping file_scope, construct a
TRANSLATION_UNIT_DECL and make it the context of all the
symbols in the scope.
(push_file_scope): Don't construct a TRANSLATION_UNIT_DECL here.
(pushdecl): Clarify comment. Do not set DECL_CONTEXT of
anything to current_file_decl.
(pushdecl_top_level): Likewise.
(store_parm_decls_newstyle): Adjust check for nested function.
(c_write_global_declarations): Update for renamed variable.
From-SVN: r81655
Diffstat (limited to 'gcc/java/class.c')
0 files changed, 0 insertions, 0 deletions