From ab786753630bf36ee477f7590eabf0a55bdd3796 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Fri, 5 Mar 2004 13:54:12 +0000 Subject: [PATCH] re PR driver/13577 (multiple -o options with -c cause unrecognized option `-strip') PR 13577 * gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o options. From-SVN: r78966 --- gcc/ChangeLog | 6 ++++++ gcc/gcc.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 723492a658a..9ceb863dc5b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-03-05 Nathan Sidwell + + PR 13577 + * gcc.c (cc1_options): Robustify -auxbase-strip from multiple -o + options. + 2004-03-05 Paolo Bonzini * simplify-rtx.c (simplify_relational_operation): If diff --git a/gcc/gcc.c b/gcc/gcc.c index 9538c620a73..71be65b1cd3 100644 --- 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}\