aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2008-11-15 12:43:16 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2008-11-15 12:43:16 +0000
commit708bceb76e088c312d252f394a8585c1e74056e9 (patch)
tree9c392329bfcd5a49e52398b257d6e89aac445195 /gcc
parenta5b8aacdd2b91ccfa37825d358141bad4cba1d11 (diff)
downloadgcc-708bceb76e088c312d252f394a8585c1e74056e9.zip
gcc-708bceb76e088c312d252f394a8585c1e74056e9.tar.gz
gcc-708bceb76e088c312d252f394a8585c1e74056e9.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/ada/ChangeLog4
-rw-r--r--gcc/ada/gcc-interface/lang-specs.h11
-rw-r--r--gcc/gcc.c2
4 files changed, 15 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4c8b9a1..3c9d65c 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-15 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc.c (cc1_options): Fix comment.
+
2008-11-15 Jakub Jelinek <jakub@redhat.com>
PR c++/37561
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index 776e47e..adbc571 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,5 +1,9 @@
2008-11-15 Eric Botcazou <ebotcazou@adacore.com>
+ * gcc-interface/lang-specs.h: Expand -coverage and reorder switches.
+
+2008-11-15 Eric Botcazou <ebotcazou@adacore.com>
+
* gcc-interface/decl.c (gnat_to_gnu_entity) <object>: Force constants
initialized to a static constant to be statically allocated even if
they are of a padding type, provided the original type also has
diff --git a/gcc/ada/gcc-interface/lang-specs.h b/gcc/ada/gcc-interface/lang-specs.h
index 8e839a3..c07547f 100644
--- a/gcc/ada/gcc-interface/lang-specs.h
+++ b/gcc/ada/gcc-interface/lang-specs.h
@@ -35,14 +35,15 @@
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}} \
%{gnatc*|gnats*: -o %j} %{-param*} \
diff --git a/gcc/gcc.c b/gcc/gcc.c
index bb4c465..5481d0d 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*}\