Commit fe8fb1c4 by Alexandre Oliva Committed by Alexandre Oliva

re PR rtl-optimization/53827 ([alpha]: Invalid insn scheduling in sched1 pass)

PR rtl-optimization/53827
PR debug/53671
PR debug/49888
* alias.c (memrefs_conflict_p): Adjust offset and size by the
same amount for alignment ANDs.

From-SVN: r189325
parent 5de33281
2012-07-06 Alexandre Oilva <aoliva@redhat.com>
PR rtl-optimization/53827
PR debug/53671
PR debug/49888
* alias.c (memrefs_conflict_p): Adjust offset and size by the
same amount for alignment ANDs.
2012-07-06 Tom de Vries <tom@codesourcery.com> 2012-07-06 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/51879 PR tree-optimization/51879
......
...@@ -2107,7 +2107,7 @@ memrefs_conflict_p (int xsize, rtx x, int ysize, rtx y, HOST_WIDE_INT c) ...@@ -2107,7 +2107,7 @@ memrefs_conflict_p (int xsize, rtx x, int ysize, rtx y, HOST_WIDE_INT c)
if (xsize > 0 && sc < 0 && -uc == (uc & -uc)) if (xsize > 0 && sc < 0 && -uc == (uc & -uc))
{ {
xsize -= sc + 1; xsize -= sc + 1;
c -= sc; c -= sc + 1;
return memrefs_conflict_p (xsize, canon_rtx (XEXP (x, 0)), return memrefs_conflict_p (xsize, canon_rtx (XEXP (x, 0)),
ysize, y, c); ysize, y, c);
} }
...@@ -2119,7 +2119,7 @@ memrefs_conflict_p (int xsize, rtx x, int ysize, rtx y, HOST_WIDE_INT c) ...@@ -2119,7 +2119,7 @@ memrefs_conflict_p (int xsize, rtx x, int ysize, rtx y, HOST_WIDE_INT c)
if (ysize > 0 && sc < 0 && -uc == (uc & -uc)) if (ysize > 0 && sc < 0 && -uc == (uc & -uc))
{ {
ysize -= sc + 1; ysize -= sc + 1;
c += sc; c += sc + 1;
return memrefs_conflict_p (xsize, x, return memrefs_conflict_p (xsize, x,
ysize, canon_rtx (XEXP (y, 0)), c); ysize, canon_rtx (XEXP (y, 0)), c);
} }
......
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