From ad8151b7f27e506035d8eed8ed1d80e81ded7937 Mon Sep 17 00:00:00 2001
From: James E Wilson <wilson@specifixinc.com>
Date: Fri, 11 Jan 2008 13:42:03 -0800
Subject: [PATCH] re PR target/26015 (ICE during bootstrap for vax
 architecture)

PR target/26015
* config/vax/elf.h (FRAME_POINTER_CFA_OFFSET): Define.

From-SVN: r131477
---
 gcc/ChangeLog        | 5 +++++
 gcc/config/vax/elf.h | 3 +++
 2 files changed, 8 insertions(+)

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 92f1cd6f74c4..7deb6fdc7660 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2008-01-11  James E. Wilson  <wilson@specifix.com>
+
+	PR target/26015
+	* config/vax/elf.h (FRAME_POINTER_CFA_OFFSET): Define.
+
 2008-01-11  Anatoly Sokolov <aesok@post.ru>
 
 	* config/avr/avr.c (expand_prologue, expand_epilogue): Don't 
diff --git a/gcc/config/vax/elf.h b/gcc/config/vax/elf.h
index b7d752694096..3a010fdd4886 100644
--- a/gcc/config/vax/elf.h
+++ b/gcc/config/vax/elf.h
@@ -45,6 +45,9 @@ along with GCC; see the file COPYING3.  If not see
    count pushed by the CALLS and before the start of the saved registers.  */
 #define INCOMING_FRAME_SP_OFFSET 0
 
+/* Offset from the frame pointer register value to the top of the stack.  */
+#define FRAME_POINTER_CFA_OFFSET(FNDECL) 0
+
 /* We use R2-R5 (call-clobbered) registers for exceptions.  */
 #define EH_RETURN_DATA_REGNO(N) ((N) < 4 ? (N) + 2 : INVALID_REGNUM)
 
-- 
GitLab