aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-05-22 21:58:33 +0000
committerRichard Stallman <rms@gnu.org>1993-05-22 21:58:33 +0000
commitd488c65766940cd5df351b4341da329fd503a964 (patch)
tree7aac4614235309887225f63461d3102293a6476c
parenta06507930c90d5554adfe21cc6bc149d7367e1e4 (diff)
downloadgcc-d488c65766940cd5df351b4341da329fd503a964.zip
gcc-d488c65766940cd5df351b4341da329fd503a964.tar.gz
gcc-d488c65766940cd5df351b4341da329fd503a964.tar.bz2
(ASM_SPEC): If -noasmopt, don't pass -O options.
From-SVN: r4540
-rw-r--r--gcc/config/mips/iris3.h2
-rw-r--r--gcc/config/mips/mips.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/mips/iris3.h b/gcc/config/mips/iris3.h
index d807ccf..8ed23a7 100644
--- a/gcc/config/mips/iris3.h
+++ b/gcc/config/mips/iris3.h
@@ -45,7 +45,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
%{!mrnames: %{!.s:-nocpp} %{.s: %{cpp} %{nocpp}}} \
%{pipe: %e-pipe is not supported.} \
%{mips1} %{mips2} %{mips3} \
- %{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3} \
+ %{!noasmopt:%{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3}} \
%{g} %{g0} %{g1} %{g2} %{g3} %{v} %{K} \
%{ggdb:-g} %{ggdb0:-g0} %{ggdb1:-g1} %{ggdb2:-g2} %{ggdb3:-g3} \
%{gstabs:-g} %{gstabs0:-g0} %{gstabs1:-g1} %{gstabs2:-g2} %{gstabs3:-g3} \
diff --git a/gcc/config/mips/mips.h b/gcc/config/mips/mips.h
index 4597ed1..5a25fff 100644
--- a/gcc/config/mips/mips.h
+++ b/gcc/config/mips/mips.h
@@ -549,7 +549,7 @@ while (0)
%{EB} %{!EB:-EB} \
%{EL: %e-EL not supported} \
%{mips1} %{mips2} %{mips3} \
- %{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3} \
+ %{!noasmopt:%{O:-O2} %{O1:-O2} %{O2:-O2} %{O3:-O3}} \
%{g} %{g0} %{g1} %{g2} %{g3} %{v} %{K} \
%{ggdb:-g} %{ggdb0:-g0} %{ggdb1:-g1} %{ggdb2:-g2} %{ggdb3:-g3} \
%{gstabs:-g} %{gstabs0:-g0} %{gstabs1:-g1} %{gstabs2:-g2} %{gstabs3:-g3} \