]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc.c (cc1_options): Fix comment.
authorEric Botcazou <ebotcazou@adacore.com>
Sat, 15 Nov 2008 12:43:16 +0000 (12:43 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Sat, 15 Nov 2008 12:43:16 +0000 (12:43 +0000)
* gcc.c (cc1_options): Fix comment.
ada/
* gcc-interface/lang-specs.h: Expand -coverage and reorder switches.

From-SVN: r141884

gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/lang-specs.h
gcc/gcc.c

index 4c8b9a1dae03319ee67844fc05c03d562d16b8b0..3c9d65c06c31dbccfe93e36bca7fd3bfdc169ad4 100644 (file)
@@ -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
index 776e47eeb13fbbb542bd45bce0030db877f338e8..adbc571c1a69414d3d4c83d45de70c4ae7d1f3e6 100644 (file)
@@ -1,3 +1,7 @@
+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
index 8e839a3453db248c334f1983decbf434785f5fa0..c07547fbdf62772e230cb0034b9551564b2d0a31 100644 (file)
  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}} \
index bb4c465a5de926af78e067d4c8d6dd2bc82bab0d..5481d0d4f44431127f59bf34a9ca28b9c928ff01 100644 (file)
--- 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*}\