Commit 47de45c6 by Richard Sandiford Committed by Richard Sandiford

re PR bootstrap/33306 (Bootstrap failure on alpha: ICE in convert_move, at expr.c:369)

gcc/
	PR middle-end/33306
	* optabs.c (avoid_expensive_constant): Do nothing if MODE is VOIDmode.

From-SVN: r128179
parent b61ff9c8
2007-09-06 Richard Sandiford <richard@codesourcery.com>
PR middle-end/33306
* optabs.c (avoid_expensive_constant): Do nothing if MODE is VOIDmode.
2007-09-06 Basile Starynkevitch <basile@starynkevitch.net> 2007-09-06 Basile Starynkevitch <basile@starynkevitch.net>
* cfg.c (dump_bb_info, dump_edge_info): Added cfun test for * cfg.c (dump_bb_info, dump_edge_info): Added cfun test for
......
...@@ -1359,7 +1359,8 @@ static rtx ...@@ -1359,7 +1359,8 @@ static rtx
avoid_expensive_constant (enum machine_mode mode, optab binoptab, avoid_expensive_constant (enum machine_mode mode, optab binoptab,
rtx x, bool unsignedp) rtx x, bool unsignedp)
{ {
if (optimize if (mode != VOIDmode
&& optimize
&& CONSTANT_P (x) && CONSTANT_P (x)
&& rtx_cost (x, binoptab->code) > COSTS_N_INSNS (1)) && rtx_cost (x, binoptab->code) > COSTS_N_INSNS (1))
{ {
......
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