diff options
author | Jakub Jelinek <jakub@redhat.com> | 2013-12-17 09:46:16 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2013-12-17 09:46:16 +0100 |
commit | 2477c234e2d89f875e19d4b6d112b7c321b46a55 (patch) | |
tree | f92bb1a3fc127f78ad307e0ca9da5c8aac5a2d7d /gcc/expr.c | |
parent | 1ede59e4c72ec83a3382e5ca5f4779c819977a8c (diff) | |
download | gcc-2477c234e2d89f875e19d4b6d112b7c321b46a55.zip gcc-2477c234e2d89f875e19d4b6d112b7c321b46a55.tar.gz gcc-2477c234e2d89f875e19d4b6d112b7c321b46a55.tar.bz2 |
expr.c (convert_modes): For SUBREG_PROMOTED_VAR_P use SUBREG_REG (x) instead of x as last gen_lowpart...
* expr.c (convert_modes): For SUBREG_PROMOTED_VAR_P use SUBREG_REG (x)
instead of x as last gen_lowpart argument.
From-SVN: r206040
Diffstat (limited to 'gcc/expr.c')
-rw-r--r-- | gcc/expr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -719,7 +719,7 @@ convert_modes (enum machine_mode mode, enum machine_mode oldmode, rtx x, int uns if (GET_CODE (x) == SUBREG && SUBREG_PROMOTED_VAR_P (x) && GET_MODE_SIZE (GET_MODE (SUBREG_REG (x))) >= GET_MODE_SIZE (mode) && SUBREG_PROMOTED_UNSIGNED_P (x) == unsignedp) - x = gen_lowpart (mode, x); + x = gen_lowpart (mode, SUBREG_REG (x)); if (GET_MODE (x) != VOIDmode) oldmode = GET_MODE (x); |