Commit e0a09fda by Krister Walfridsson Committed by Richard Henderson

* reload1.c (reload_cse_simplify): Fix typo in rtx code check.

From-SVN: r53675
parent e0c13c70
2002-05-20 Krister Walfridsson <cato@df.lth.se>
* reload1.c (reload_cse_simplify): Fix typo in rtx code check.
2002-05-20 H.J. Lu (hjl@gnu.org) 2002-05-20 H.J. Lu (hjl@gnu.org)
Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>: Base on suggestions from Zhang Fuxin <fxzhang@ict.ac.cn>:
......
...@@ -8077,8 +8077,8 @@ reload_cse_simplify (insn) ...@@ -8077,8 +8077,8 @@ reload_cse_simplify (insn)
if (!count && reload_cse_noop_set_p (body)) if (!count && reload_cse_noop_set_p (body))
{ {
rtx value = SET_DEST (body); rtx value = SET_DEST (body);
if (GET_CODE (body) == REG if (REG_P (value)
&& ! REG_FUNCTION_VALUE_P (SET_DEST (body))) && ! REG_FUNCTION_VALUE_P (value))
value = 0; value = 0;
reload_cse_delete_noop_set (insn, value); reload_cse_delete_noop_set (insn, value);
return; return;
......
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