From 9d7b0e70dd08a6ac515cdbda20dfffb2c7b7f27a Mon Sep 17 00:00:00 2001 From: ebotcazou Date: Fri, 3 Jul 2015 20:15:29 +0000 Subject: [PATCH] * expr.c (expand_expr_real_1) : Do not short-circuit regular handling for CONCATs with reverse SSO. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/scalar-storage-order@225405 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/expr.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/expr.c b/gcc/expr.c index af90c038ca1..faf98fdd8c3 100644 --- a/gcc/expr.c +++ b/gcc/expr.c @@ -10182,7 +10182,8 @@ expand_expr_real_1 (tree exp, rtx target, machine_mode tmode, if (GET_CODE (op0) == CONCAT && !must_force_mem) { if (bitpos == 0 - && bitsize == GET_MODE_BITSIZE (GET_MODE (op0))) + && bitsize == GET_MODE_BITSIZE (GET_MODE (op0)) + && !reversep) return op0; if (bitpos == 0 && bitsize == GET_MODE_BITSIZE (GET_MODE (XEXP (op0, 0))) -- 2.11.4.GIT