Commit 00995e78 by Richard Earnshaw Committed by Jeff Law

emit-rtl.c (mark_reg_pointer): Don't increase the alignment of a register that…

emit-rtl.c (mark_reg_pointer): Don't increase the alignment of a register that is already known to be a pointer.

        * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
        a register that is already known to be a pointer.

From-SVN: r28664
parent 67acfbd7
1999-08-11 Richard Earnshaw (rearnsha@arm.com)
* emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
a register that is already known to be a pointer.
1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com> 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
* fixinc/inclhack.tpl: Only install assert.h conditionally. * fixinc/inclhack.tpl: Only install assert.h conditionally.
......
...@@ -570,9 +570,15 @@ mark_reg_pointer (reg, align) ...@@ -570,9 +570,15 @@ mark_reg_pointer (reg, align)
rtx reg; rtx reg;
int align; int align;
{ {
REGNO_POINTER_FLAG (REGNO (reg)) = 1; if (! REGNO_POINTER_FLAG (REGNO (reg)))
{
REGNO_POINTER_FLAG (REGNO (reg)) = 1;
if (align) if (align)
REGNO_POINTER_ALIGN (REGNO (reg)) = align;
}
else if (align && align < REGNO_POINTER_ALIGN (REGNO (reg)))
/* We can no-longer be sure just how aligned this pointer is */
REGNO_POINTER_ALIGN (REGNO (reg)) = align; REGNO_POINTER_ALIGN (REGNO (reg)) = align;
} }
......
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