(default_compilers, @ada): Don't duplicate "-gnat" parameters; pass
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 1 Feb 1994 13:32:46 +0000 (08:32 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 1 Feb 1994 13:32:46 +0000 (08:32 -0500)
-quiet unless -Q is specified.

From-SVN: r6456

gcc/gcc.c

index c6f2e79ea5aeb496c9da04db1a32eb40f626516f..101ecf7c022db8969d8e2931b9e4edd317b4e626 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -1,5 +1,5 @@
 /* Compiler driver program that can handle many languages.
-   Copyright (C) 1987, 1989, 1992, 1993 Free Software Foundation, Inc.
+   Copyright (C) 1987, 1989, 1992, 1993, 1994 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -583,8 +583,7 @@ static struct compiler default_compilers[] =
   {".adb", "@ada"},
   {".ada", "@ada"},
   {"@ada",
-   "gnat1 %{gnat*} %{k8:-gnatk8} %{w:-gnatws}\
-       -dumpbase %b.ada\
+   "gnat1 %{k8:-gnatk8} %{w:-gnatws} %{!Q:-quiet} -dumpbase %b.ada\
        %{g*} %{O*} %{p} %{pg:-p} %{f*} %{d*}\
        %{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
        %i %{S:%W{o*}%{!o*:-o %b.s}}%{!S:-o %{|!pipe:%g.s}} | \n",