diff options
author | Zack Weinberg <zack@gcc.gnu.org> | 2004-07-09 21:30:35 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2004-07-09 21:30:35 +0000 |
commit | 9affb2c7e47fd5abfa4ee62ee4121d5329076a23 (patch) | |
tree | 58b85f972de94f99b74cfcf79c3da6dcde633962 /libjava/testsuite/libjava.compile/comment.java | |
parent | 4077d207437b94a2d07d76c93b6583d5920bf7a8 (diff) | |
download | gcc-9affb2c7e47fd5abfa4ee62ee4121d5329076a23.zip gcc-9affb2c7e47fd5abfa4ee62ee4121d5329076a23.tar.gz gcc-9affb2c7e47fd5abfa4ee62ee4121d5329076a23.tar.bz2 |
c-opts.c (c_common_post_options): Force unit-at-a-time mode on when we have more than one input file.
2004-07-09 Zack Weinberg <zack@codesourcery.com>
Andrew Pinski <apinski@apple.com>
* c-opts.c (c_common_post_options): Force unit-at-a-time mode
on when we have more than one input file.
(c_common_parse_file): Restore loop over all input files.
Clarify diagnostic for -dy when YYDEBUG wasn't defined.
* c-decl.c (set_type_context): New function.
(pop_scope): Use it to set context of types. When we
encounter a TYPE_DECL, set the context of the attached type too.
(pop_file_scope): Don't call cpp_undef_all here.
(diagnose_mismatched_decls): Do not complain about a second
definition of an 'extern inline' function if it's not in the
same translation unit. Do not complain about inline
declaration after use if the use was in a different
translation unit.
(merge_decls): Don't clobber olddecl's DECL_CONTEXT.
(pushdecl): Do not put DECL_EXTERNAL, !TREE_PUBLIC decls in
the external scope.
(pushdecl_top_level): Likewise.
(grokdeclarator): Clarify what is going on with setting
DECL_EXTERNAL on function types, a little.
(c_write_global_declarations): Don't do anything if
-fsyntax-only or errors have been encountered.
testsuite:
* gcc.dg/noncompile/init-4.c: Remove bogus dg-error marker.
From-SVN: r84402
Diffstat (limited to 'libjava/testsuite/libjava.compile/comment.java')
0 files changed, 0 insertions, 0 deletions