From d488c65766940cd5df351b4341da329fd503a964 Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Sat, 22 May 1993 21:58:33 +0000 Subject: [PATCH] (ASM_SPEC): If -noasmopt, don't pass -O options. From-SVN: r4540 --- gcc/config/mips/iris3.h | 2 +- gcc/config/mips/mips.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/mips/iris3.h b/gcc/config/mips/iris3.h index d807ccf5d6e..8ed23a79eea 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 4597ed18d4f..5a25fff9c95 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} \ -- 2.30.2