]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/gcc.c
invoke.texi: Mention -fdump-ada-spec.
authorArnaud Charlet <charlet@adacore.com>
Tue, 1 Jun 2010 12:57:57 +0000 (12:57 +0000)
committerArnaud Charlet <charlet@gcc.gnu.org>
Tue, 1 Jun 2010 12:57:57 +0000 (14:57 +0200)
commit9cc549409b6eaf87ba91362809738b0f1f3158e1
treeec3e2b9e58ba96e229b86b77334b2495b9c3eff4
parent97d45cef597d472c47550365291dcdbf1c31ccec
invoke.texi: Mention -fdump-ada-spec.

* doc/invoke.texi: Mention -fdump-ada-spec.
* tree-dump.c (dump_files): Add ada-spec.
(FIRST_AUTO_NUMBERED_DUMP): Bump to 8.
* tree-pass.h (tree_dump_index): Add TDI_ada.
* gcc.c: Add support for -C without -E and for -fdump-ada-spec.
(cpp_unique_options): Do not reject -C or -CC when -E isn't present.
(default_compilers) <@c-header>: Allow -fdump-ada-spec on header files.
* c-decl.c: Include c-ada-spec.h.
(collect_source_ref_cb, collect_all_refs, for_each_global_decl): New
functions.
(c_write_global_declarations): Add handling of -fdump-ada-spec.
* c-lex.c (c_lex_with_flags): Add handling of CPP_COMMENT.
* Makefile.in (C_AND_OBJC_OBJS): Add c-ada-spec.o.
* c-ada-spec.h, c-ada-spec.c: New files.

Co-Authored-By: Matthew Gingell <gingell@adacore.com>
From-SVN: r160100
gcc/ChangeLog
gcc/Makefile.in
gcc/c-ada-spec.c [new file with mode: 0644]
gcc/c-ada-spec.h [new file with mode: 0644]
gcc/c-decl.c
gcc/c-lex.c
gcc/doc/invoke.texi
gcc/gcc.c
gcc/tree-dump.c
gcc/tree-pass.h