]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[AArch64] Classify FRAME_POINTER_REGNUM and ARG_POINTER_REGNUM as POINTER_REGS.
authorMarcus Shawcroft <marcus.shawcroft@arm.com>
Wed, 16 Oct 2013 14:46:13 +0000 (14:46 +0000)
committerMarcus Shawcroft <mshawcroft@gcc.gnu.org>
Wed, 16 Oct 2013 14:46:13 +0000 (14:46 +0000)
From-SVN: r203707

gcc/ChangeLog
gcc/config/aarch64/aarch64.c

index ebaa3e0d4eb0b52bfc877c4b4e7812a31e92ae9e..6fad912561c69462192646890103c46c9c187eb8 100644 (file)
@@ -1,3 +1,8 @@
+2013-10-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
+
+       * config/aarch64/aarch64.c (aarch64_regno_regclass): Classify
+       FRAME_POINTER_REGNUM and ARG_POINTER_REGNUM as POINTER_REGS.
+
 2013-10-16  Yvan Roux  <yvan.roux@linaro.org>
 
        * config/arm/arm.opt (mlra): New option.
index f6f587a9122e28cb12693d24856e4b8a854aa73e..da3962f354b3f85edafcb55a40fd7d3525036e57 100644 (file)
@@ -3904,7 +3904,7 @@ aarch64_regno_regclass (unsigned regno)
 
   if (regno == FRAME_POINTER_REGNUM
       || regno == ARG_POINTER_REGNUM)
-    return CORE_REGS;
+    return POINTER_REGS;
 
   if (FP_REGNUM_P (regno))
     return FP_LO_REGNUM_P (regno) ?  FP_LO_REGS : FP_REGS;