From: Vladimir Makarov Date: Wed, 24 Oct 2012 17:35:37 +0000 (+0000) Subject: re PR bootstrap/55049 (bootstrap failed with --with-multilib-list=m32,m64,mx32) X-Git-Tag: releases/gcc-4.8.0~2577 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=65875a301e702ee3cf7abf174f87a3e60d16974c;p=thirdparty%2Fgcc.git re PR bootstrap/55049 (bootstrap failed with --with-multilib-list=m32,m64,mx32) 2012-10-24 Vladimir Makarov PR bootstrap/55049 * lra-constraints.c (extract_loc_address_regs): Pass top_p for ZERO_EXTEND operand. From-SVN: r192771 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7211353de842..f19c1fc0bd9e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-10-24 Vladimir Makarov + + PR bootstrap/55049 + * lra-constraints.c (extract_loc_address_regs): Pass top_p for + ZERO_EXTEND operand. + 2012-10-24 Vladimir Makarov PR bootstrap/55048 diff --git a/gcc/lra-constraints.c b/gcc/lra-constraints.c index 1b56a0b4e54f..4b357261bbe2 100644 --- a/gcc/lra-constraints.c +++ b/gcc/lra-constraints.c @@ -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