(ASM_SPEC): If -noasmopt, don't pass -O options.
authorRichard Stallman <rms@gnu.org>
Sat, 22 May 1993 21:58:33 +0000 (21:58 +0000)
committerRichard Stallman <rms@gnu.org>
Sat, 22 May 1993 21:58:33 +0000 (21:58 +0000)
From-SVN: r4540

gcc/config/mips/iris3.h
gcc/config/mips/mips.h

index d807ccf5d6e9aa5d4955fb42df0c5f6167333eb4..8ed23a79eea5eb4052edbc7fb88bc1938ba2dd04 100644 (file)
@@ -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} \
index 4597ed18d4f749925fdf6dcae16ff4ef73425292..5a25fff9c9521689b5d68de0ad6eaa84b5dd1c34 100644 (file)
@@ -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} \