summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormshawcroft <mshawcroft@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-31 15:45:48 +0000
committermshawcroft <mshawcroft@138bc75d-0d04-0410-961f-82ee72b054a4>2013-05-31 15:45:48 +0000
commit78d82aec87898bf527541f995939a7df94cd6b90 (patch)
treee7c3dec4a3fe73331d90523d3fcffc4ff919c0d7
parent12a60807e1edc88f54ec43088cc666f7e88e317e (diff)
downloadgcc-78d82aec87898bf527541f995939a7df94cd6b90.tar.gz
[PATCH, AArch64] Remove excessive braces.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@199545 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/aarch64/aarch64.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d44fcdcc361..0c83918e6c5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2013-05-31 Marcus Shawcroft <marcus.shawcroft@arm.com>
+ * config/aarch64/aarch64.c (aarch64_load_symref_appropriately):
+ Remove un-necessary braces.
+
+2013-05-31 Marcus Shawcroft <marcus.shawcroft@arm.com>
+
* config/aarch64/aarch64.c (aarch64_classify_symbol):
Use SYMBOL_TINY_ABSOLUTE for AARCH64_CMODEL_TINY_PIC.
diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index a6859cc2a9a..dec5ec3bb0c 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -532,9 +532,7 @@ aarch64_load_symref_appropriately (rtx dest, rtx imm,
{
rtx tmp_reg = dest;
if (can_create_pseudo_p ())
- {
- tmp_reg = gen_reg_rtx (Pmode);
- }
+ tmp_reg = gen_reg_rtx (Pmode);
emit_move_insn (tmp_reg, gen_rtx_HIGH (Pmode, imm));
emit_insn (gen_ldr_got_small (dest, tmp_reg, imm));
return;