From 17d7bdd87dcafe86ec678cb22604e4aada008948 Mon Sep 17 00:00:00 2001 From: Renlin Li Date: Thu, 16 Jun 2016 09:37:31 +0000 Subject: [PATCH] [PATCH][AARCH64]Fix typo in aarch64_legitimize_address. gcc/ 2016-06-16 renlin li * config/aarch64/aarch64.c (aarch64_legitimize_address): Fix a typo. From-SVN: r237506 --- gcc/ChangeLog | 4 ++++ gcc/config/aarch64/aarch64.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9a4ab0a2215..e720868daa6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-06-16 Renlin Li + + * config/aarch64/aarch64.c (aarch64_legitimize_address): Fix a typo. + 2016-06-16 Jakub Jelinek * config/i386/i386.md (setcc + movzbl peephole2): Use reg_set_p. diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index e91017bc0c2..4497002707e 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -4982,7 +4982,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) -- 2.30.2