re PR driver/13577 (multiple -o options with -c cause unrecognized option `-strip')
authorNathan Sidwell <nathan@codesourcery.com>
Fri, 5 Mar 2004 13:54:12 +0000 (13:54 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 5 Mar 2004 13:54:12 +0000 (13:54 +0000)
PR 13577
* gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o
options.

From-SVN: r78966

gcc/ChangeLog
gcc/gcc.c

index 723492a658a725b53c980169f7ac96ac6e075497..9ceb863dc5b159ce07456a630487d5570dd9dbe7 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 9538c620a73b9b6f585c179571eac72e44b199c0..71be65b1cd3775c746525a65fc397939babf04b1 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}\