re PR target/26504 (compute_frame_pointer_to_cfa_displacement error for avr target...
authorAnatoly Sokolov <aesok@post.ru>
Thu, 14 Sep 2006 21:11:33 +0000 (01:11 +0400)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Thu, 14 Sep 2006 21:11:33 +0000 (01:11 +0400)
PR target/26504
* config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Define.

From-SVN: r116950

gcc/ChangeLog
gcc/config/avr/avr.h

index 3fe8fe5fea821c788e447368ca5388da0c5f9358..3f3cc32b2bed51f9b2fcab8fc0eeb1064bb685d7 100644 (file)
@@ -1,3 +1,8 @@
+2006-09-14  Anatoly Sokolov <aesok@post.ru>
+
+       PR target/26504
+       * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Define.
+
 2006-09-13  Aldy Hernandez  <aldyh@redhat.com>
 
         * doc/tree-ssa.texi (Jumps): RESULT_DECL can also be an operand
index 2285e57cf1f6879972c11943aa131efdd32f3bf5..d34a6b640b4f08d0f7cfdb1ee3c89a03b3027f79 100644 (file)
@@ -283,6 +283,9 @@ enum reg_class {
 
 #define FRAME_POINTER_REQUIRED frame_pointer_required_p()
 
+/* Offset from the frame pointer register value to the top of the stack.  */
+#define FRAME_POINTER_CFA_OFFSET(FNDECL) 0
+
 #define ELIMINABLE_REGS {                                      \
       {ARG_POINTER_REGNUM, FRAME_POINTER_REGNUM},              \
        {FRAME_POINTER_REGNUM, STACK_POINTER_REGNUM}            \