re PR bootstrap/12173 (IRIX 6 O32 (with as) bootstrap failure due to gcc -g -E warning)

2003-10-07  Alexandre Oliva  <aoliva@redhat.com>

	* gcc.c (cpp_options): Only pass -fworking-directory for -g* if
	not overridden.
	Fixes PR bootstrap/12173.

From-SVN: r72201
This commit is contained in:
Alexandre Oliva 2003-10-07 21:14:14 +00:00 committed by Rainer Orth
parent e56104509d
commit 5c8d90405f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2003-10-07 Alexandre Oliva <aoliva@redhat.com>
* gcc.c (cpp_options): Only pass -fworking-directory for -g* if
not overridden.
Fixes PR bootstrap/12173.
2003-10-07 Zack Weinberg <zack@codesourcery.com>
* errors.c: Don't include coretypes.h or tm.h.

View File

@ -755,7 +755,7 @@ static const char *cpp_unique_options =
in turn cause preprocessor symbols to be defined specially. */
static const char *cpp_options =
"%(cpp_unique_options) %1 %{m*} %{std*} %{ansi} %{W*&pedantic*} %{w} %{f*}\
%{g*} %{O*} %{undef}";
%{g*:%{!g0:%{!fno-working-directory:-fworking-directory}}} %{O*} %{undef}";
/* This contains cpp options which are not passed when the preprocessor
output will be used by another program. */