diff options
author | Yvan Roux <yvan.roux@linaro.org> | 2016-09-02 09:59:36 +0200 |
---|---|---|
committer | Yvan Roux <yvan.roux@linaro.org> | 2016-09-07 22:08:25 +0200 |
commit | b25a5b62d33a2632caaefd6f0fc8767b88b23ed8 (patch) | |
tree | c7985205d446a5b43197db465eff610d47b78522 | |
parent | 975275df258ab3dc751cf173e1641edcd6ab88b4 (diff) |
gcc/
Backport from trunk r237506.
2016-06-16 Renlin Li <renlin.li@arm.com>
* config/aarch64/aarch64.c (aarch64_legitimize_address): Fix a typo.
Change-Id: Ia4613d97eb5da0d1839d9af77de2aa71f5479f17
-rw-r--r-- | gcc/config/aarch64/aarch64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 6587ba26d50..760c8c97ece 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -5102,7 +5102,7 @@ aarch64_legitimize_address (rtx x, rtx /* orig_x */, machine_mode mode) if (GET_CODE (x) == PLUS && CONST_INT_P (XEXP (x, 1))) { rtx base = XEXP (x, 0); - rtx offset_rtx XEXP (x, 1); + rtx offset_rtx = XEXP (x, 1); HOST_WIDE_INT offset = INTVAL (offset_rtx); if (GET_CODE (base) == PLUS) |