Commit e62ff0c3 by Richard Kenner Committed by Richard Kenner

* loop.c (strength_reduce): Fix error in last change.

From-SVN: r36993
parent 139a41f9
Sat Oct 21 08:24:25 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* loop.c (strength_reduce): Fix error in last change.
2000-10-20 David Edelsohn <edelsohn@gnu.org>
* Makefile.in (SHLIB_NM_FLAGS): New.
......
......@@ -4203,7 +4203,7 @@ strength_reduce (loop, insn_count, flags)
{
unsigned int align = REGNO_POINTER_ALIGN (REGNO (v->add_val));
if (align == 0
if (align == 0 || GET_CODE (v->mult_val) != CONST_INT
|| INTVAL (v->mult_val) % (align / BITS_PER_UNIT) != 0)
align = 0;
......
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