Commit 45cc4c09 by Jim Wilson Committed by Jim Wilson

Fix mips build error.

	* mips.c (override_options): Replace word_mode with explicit
	TARGET_64BIT check.

From-SVN: r20428
parent ecb75b7a
Thu Jun 11 12:40:27 1998 Jim Wilson <wilson@cygnus.com>
* mips.c (override_options): Replace word_mode with explicit
TARGET_64BIT check.
Thu Jun 11 14:50:02 1998 Michael Meissner <meissner@cygnus.com> Thu Jun 11 14:50:02 1998 Michael Meissner <meissner@cygnus.com>
* regmove.c (regmove_optimize): If we can't replace the * regmove.c (regmove_optimize): If we can't replace the
......
...@@ -4451,8 +4451,9 @@ override_options () ...@@ -4451,8 +4451,9 @@ override_options ()
} }
} }
/* Save GPR registers in word_mode sized hunks. */ /* Save GPR registers in word_mode sized hunks. word_mode hasn't been
gpr_mode = word_mode; initialized yet, so we can't use that here. */
gpr_mode = TARGET_64BIT ? DImode : SImode;
} }
/* On the mips16, we want to allocate $24 (T_REG) before other /* On the mips16, we want to allocate $24 (T_REG) before other
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment