diff mbox

[COMMITTED] AArch64 fix layout of aarch64_cannot_force_const_mem.

Message ID 51CDAA47.7000600@arm.com
State New
Headers show

Commit Message

Marcus Shawcroft June 28, 2013, 3:22 p.m. UTC
Fixing the layout in aarch64_cannot_force_const_mem()...
/Marcus

2013-06-28  Marcus Shawcroft  <marcus.shawcroft@arm.com>

         * config/aarch64/aarch64.c (aarch64_cannot_force_const_mem): 
Adjust layout.
diff mbox

Patch

diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c
index a394283..fc7fe5a 100644
--- a/gcc/config/aarch64/aarch64.c
+++ b/gcc/config/aarch64/aarch64.c
@@ -2733,13 +2733,15 @@  static bool
 aarch64_cannot_force_const_mem (enum machine_mode mode ATTRIBUTE_UNUSED, rtx x)
 {
   rtx base, offset;
+
   if (GET_CODE (x) == HIGH)
     return true;
 
   split_const (x, &base, &offset);
   if (GET_CODE (base) == SYMBOL_REF || GET_CODE (base) == LABEL_REF)
     {
-      if (aarch64_classify_symbol (base, SYMBOL_CONTEXT_ADR) != SYMBOL_FORCE_TO_MEM)
+      if (aarch64_classify_symbol (base, SYMBOL_CONTEXT_ADR)
+	  != SYMBOL_FORCE_TO_MEM)
 	return true;
       else
 	/* Avoid generating a 64-bit relocation in ILP32; leave