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
This commit is contained in:
parent
67acfbd7b0
commit
00995e782e
@ -1,3 +1,8 @@
|
||||
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>
|
||||
|
||||
* fixinc/inclhack.tpl: Only install assert.h conditionally.
|
||||
|
@ -570,9 +570,15 @@ mark_reg_pointer (reg, align)
|
||||
rtx reg;
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user