OSDN Git Service

* gcc.c (cc1_options): Fix comment.
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Nov 2008 12:43:16 +0000 (12:43 +0000)
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 Nov 2008 12:43:16 +0000 (12:43 +0000)
ada/
* gcc-interface/lang-specs.h: Expand -coverage and reorder switches.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141884 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 4c8b9a1..3c9d65c 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 776e47e..adbc571 100644 (file)
@@ -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
index 8e839a3..c07547f 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}} \
     %{gnatc*|gnats*: -o %j} %{-param*} \
index bb4c465..5481d0d 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*}\