Commit 702d7434 by Alasdair Baird Committed by Jeff Law

* jump.c (jump_optimize) Check for CONST_INT before using INTVAL.

From-SVN: r20962
parent eafdfea8
Mon Jul 6 22:17:19 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
* jump.c (jump_optimize) Check for CONST_INT before using INTVAL.
Mon Jul 6 22:14:31 1998 Richard Henderson (rth@cygnus.com)
* regclass.c (allocate_reg_info): Initialize the entire reg_data
......
......@@ -1299,11 +1299,13 @@ jump_optimize (f, cross_jump, noop_moves, after_regscan)
/* Check that the mask is a power of two,
so that it can probably be generated
with a shift. */
&& GET_CODE (temp3) == CONST_INT
&& exact_log2 (INTVAL (temp3)) >= 0))
&& (reversep = 0, temp2 == const0_rtx))
|| ((BRANCH_COST >= 2
|| STORE_FLAG_VALUE == -1
|| (STORE_FLAG_VALUE == 1
&& GET_CODE (temp2) == CONST_INT
&& exact_log2 (INTVAL (temp2)) >= 0))
&& temp3 == const0_rtx
&& (reversep = can_reverse_comparison_p (temp4, insn)))
......
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