PR 13577
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Mar 2004 13:54:12 +0000 (13:54 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Mar 2004 13:54:12 +0000 (13:54 +0000)
* gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o
options.

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

gcc/ChangeLog
gcc/gcc.c

index 723492a..9ceb863 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-05  Nathan Sidwell  <nathan@codesourcery.com>
+
+       PR 13577
+       * gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o
+       options.
+
 2004-03-05  Paolo Bonzini  <bonzini@gnu.org>
 
        * simplify-rtx.c (simplify_relational_operation): If
index 9538c62..71be65b 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -768,7 +768,7 @@ static const char *cpp_debug_options = "%{d*}";
 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*}\
-auxbase%{c|S:%{o*:-strip %*}%{!o*: %b}}%{!c:%{!S: %b}}\
%{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}}\
  %{g*} %{O*} %{W*&pedantic*} %{w} %{std*} %{ansi}\
  %{v:-version} %{pg:-p} %{p} %{f*} %{undef}\
  %{Qn:-fno-ident} %{--help:--help}\