diff options
author | Arnaud Charlet <charlet@adacore.com> | 2010-06-01 13:00:50 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2010-06-01 15:00:50 +0200 |
commit | 36a549b86c6715edaa82a0408b71cff47f452a2f (patch) | |
tree | 470146bbc9214ca527e017d227b62dd71f65fc97 /gcc/cp/lang-specs.h | |
parent | 0641fa9781e8cd257e0113360bef387bcbfd4b96 (diff) | |
download | gcc-36a549b86c6715edaa82a0408b71cff47f452a2f.zip gcc-36a549b86c6715edaa82a0408b71cff47f452a2f.tar.gz gcc-36a549b86c6715edaa82a0408b71cff47f452a2f.tar.bz2 |
Make-lang.in (CXX_C_OBJS): Add c-ada-spec.o.
* Make-lang.in (CXX_C_OBJS): Add c-ada-spec.o.
* decl2.c: Include langhooks.h and c-ada-spec.h.
(cpp_check, collect_source_refs, collect_ada_namespace,
collect_all_refs): New functions.
(cp_write_global_declarations): Add handling of -fdump-ada-spec.
* lang-specs.h: Ditto.
Co-Authored-By: Matthew Gingell <gingell@adacore.com>
From-SVN: r160103
Diffstat (limited to 'gcc/cp/lang-specs.h')
-rw-r--r-- | gcc/cp/lang-specs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/lang-specs.h b/gcc/cp/lang-specs.h index 54d69a1..8aa3adf 100644 --- a/gcc/cp/lang-specs.h +++ b/gcc/cp/lang-specs.h @@ -48,7 +48,8 @@ along with GCC; see the file COPYING3. If not see cc1plus %{save-temps|no-integrated-cpp:-fpreprocessed %{save-temps:%b.ii} %{!save-temps:%g.ii}}\ %{!save-temps:%{!no-integrated-cpp:%(cpp_unique_options)}}\ %(cc1_options) %2 %{+e1*}\ - %{!fsyntax-only:-o %g.s %{!o*:--output-pch=%i.gch} %W{o*:--output-pch=%*}%V}}}}", + %{!fsyntax-only:%{!fdump-ada-spec*:-o %g.s %{!o*:--output-pch=%i.gch}\ + %W{o*:--output-pch=%*}}%V}}}}", CPLUSPLUS_CPP_SPEC, 0, 0}, {"@c++", "%{E|M|MM:cc1plus -E %(cpp_options) %2 %(cpp_debug_options)}\ |