OSDN Git Service

2012-10-24 Vladimir Makarov <vmakarov@redhat.com>
authorvmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Oct 2012 17:35:37 +0000 (17:35 +0000)
committervmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 24 Oct 2012 17:35:37 +0000 (17:35 +0000)
PR bootstrap/55049
* lra-constraints.c (extract_loc_address_regs): Pass top_p for
ZERO_EXTEND operand.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@192771 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/lra-constraints.c

index 7211353..f19c1fc 100644 (file)
@@ -1,5 +1,11 @@
 2012-10-24  Vladimir Makarov  <vmakarov@redhat.com>
 
+       PR bootstrap/55049
+       * lra-constraints.c (extract_loc_address_regs): Pass top_p for
+       ZERO_EXTEND operand.
+
+2012-10-24  Vladimir Makarov  <vmakarov@redhat.com>
+
        PR bootstrap/55048
        * lra-constraints.c (update_ebb_live_info): Skip
        non-NOTE_INSN_BASIC_BLOCK notes.
index 1b56a0b..4b35726 100644 (file)
@@ -515,6 +515,12 @@ extract_loc_address_regs (bool top_p, enum machine_mode mode, addr_space_t as,
     case PC:
       return;
 
+    case ZERO_EXTEND:
+      /* Pass TOP_P for displacement.  */
+      extract_loc_address_regs (top_p, mode, as, &XEXP (*loc, 0), context_p,
+                               code, index_code, modify_p, ad);
+      return;
+
     case PLUS:
     case LO_SUM:
       /* When we have an address that is a sum, we must determine