From 708bceb76e088c312d252f394a8585c1e74056e9 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Sat, 15 Nov 2008 12:43:16 +0000 Subject: [PATCH] gcc.c (cc1_options): Fix comment. * gcc.c (cc1_options): Fix comment. ada/ * gcc-interface/lang-specs.h: Expand -coverage and reorder switches. From-SVN: r141884 --- gcc/ChangeLog | 4 ++++ gcc/ada/ChangeLog | 4 ++++ gcc/ada/gcc-interface/lang-specs.h | 11 ++++++----- gcc/gcc.c | 2 +- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4c8b9a1dae0..3c9d65c06c3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2008-11-15 Eric Botcazou + + * gcc.c (cc1_options): Fix comment. + 2008-11-15 Jakub Jelinek PR c++/37561 diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 776e47eeb13..adbc571c1a6 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,7 @@ +2008-11-15 Eric Botcazou + + * gcc-interface/lang-specs.h: Expand -coverage and reorder switches. + 2008-11-15 Eric Botcazou * gcc-interface/decl.c (gnat_to_gnu_entity) : Force constants diff --git a/gcc/ada/gcc-interface/lang-specs.h b/gcc/ada/gcc-interface/lang-specs.h index 8e839a3453d..c07547fbdf6 100644 --- a/gcc/ada/gcc-interface/lang-specs.h +++ b/gcc/ada/gcc-interface/lang-specs.h @@ -35,13 +35,14 @@ gnat1 %{I*} %{k8:-gnatk8} %{Wall:-gnatwa} %{w:-gnatws} %{!Q:-quiet}\ %{nostdinc*} %{nostdlib*}\ -dumpbase %{.adb:%b.adb}%{.ads:%b.ads}%{!.adb:%{!.ads:%b.ada}}\ - %{O*} %{W*} %{w} %{p} %{pg:-p} %{a} %{f*} %{d*}\ - %{gnatea:-gnatez} %{g*&m*} " -#if defined(TARGET_VXWORKS_RTP) - "%{fRTS=rtp:-mrtp} " -#endif + %{O*} %{W*} %{w} %{p} %{pg:-p} %{a} %{d*} %{f*}\ + %{coverage:-fprofile-arcs -ftest-coverage} " #if CONFIG_DUAL_EXCEPTIONS "%{fRTS=sjlj:-fsjlj} " +#endif + "%{gnatea:-gnatez} %{g*&m*} " +#if defined(TARGET_VXWORKS_RTP) + "%{fRTS=rtp:-mrtp} " #endif "%1 %{!S:%{o*:%w%*-gnatO}} \ %i %{S:%W{o*}%{!o*:-o %b.s}} \ diff --git a/gcc/gcc.c b/gcc/gcc.c index bb4c465a5de..5481d0d4f44 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -823,7 +823,7 @@ static const char *cpp_options = output will be used by another program. */ static const char *cpp_debug_options = "%{d*}"; -/* NB: This is shared amongst all front-ends. */ +/* NB: This is shared amongst all front-ends, except for Ada. */ static const char *cc1_options = "%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\ %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*}\