From d38f945eaaebc6cfd52fb1af611de6a88de0748d Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 5 Mar 2004 13:54:12 +0000 Subject: [PATCH] PR 13577 * 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 | 6 ++++++ gcc/gcc.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 723492a..9ceb863 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 9538c62..71be65b 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}\ -- 2.7.4