Commit 0ca90ba6 by Jan Hubicka Committed by Jan Hubicka

* loop.c (express_from_1): Fix call of simplify_gen_binary.

From-SVN: r35344
parent 47b1e19b
Sun Jul 30 20:21:54 MET DST 2000 Jan Hubicka <jh@suse.cz>
* loop.c (express_from_1): Fix call of simplify_gen_binary.
Sun Jul 30 20:08:37 MET DST 2000 Jan Hubicka <jh@suse.cz> Sun Jul 30 20:08:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
* simplify-rtx.c (simplify_relational_operation): Verify that mode == * simplify-rtx.c (simplify_relational_operation): Verify that mode ==
......
...@@ -6850,7 +6850,7 @@ express_from_1 (a, b, mult) ...@@ -6850,7 +6850,7 @@ express_from_1 (a, b, mult)
} }
else if (CONSTANT_P (a)) else if (CONSTANT_P (a))
{ {
return simplify_gen_binary (MINUS, GET_MODE (b), const0_rtx, a); return simplify_gen_binary (MINUS, GET_MODE (b) != VOIDmode ? GET_MODE (b) : GET_MODE (a), const0_rtx, a);
} }
else if (GET_CODE (b) == PLUS) else if (GET_CODE (b) == PLUS)
{ {
......
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