]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/55049 (bootstrap failed with --with-multilib-list=m32,m64,mx32)
authorVladimir Makarov <vmakarov@redhat.com>
Wed, 24 Oct 2012 17:35:37 +0000 (17:35 +0000)
committerVladimir Makarov <vmakarov@gcc.gnu.org>
Wed, 24 Oct 2012 17:35:37 +0000 (17:35 +0000)
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.

From-SVN: r192771

gcc/ChangeLog
gcc/lra-constraints.c

index 7211353de842e49268eb1378b01ab828028f688c..f19c1fc0bd9ec102b2a0245f9ed148dc281e1ee3 100644 (file)
@@ -1,3 +1,9 @@
+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
index 1b56a0b4e54f8c7dd1b6e54f44049dc172b1a75d..4b357261bbe24f7232448ff2aa584602f39a8b48 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