aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/config/v850/v850.h7
-rw-r--r--gcc/config/v850/v850.md2
3 files changed, 10 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d436e8c..6d88242 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,8 @@
2008-08-28 Nick Clifton <nickc@redhat.com>
+ * config/v850/v850.h (IRA_COVER_CLASSES): Define.
+ * config/v850/v850.md (return): Remove frame size restriction.
+
* config/mcore/mcore.h (IRA_COVER_CLASSES): Define.
* config/iq2000/iq2000.h (IRA_COVER_CLASSES): Define.
diff --git a/gcc/config/v850/v850.h b/gcc/config/v850/v850.h
index b951b2c..c897b12 100644
--- a/gcc/config/v850/v850.h
+++ b/gcc/config/v850/v850.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler. NEC V850 series
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
- 2007 Free Software Foundation, Inc.
+ 2007, 2008 Free Software Foundation, Inc.
Contributed by Jeff Law (law@cygnus.com).
This file is part of GCC.
@@ -318,6 +318,11 @@ enum reg_class
#define N_REG_CLASSES (int) LIM_REG_CLASSES
+#define IRA_COVER_CLASSES \
+{ \
+ GENERAL_REGS, LIM_REG_CLASSES \
+}
+
/* Give names of register classes as strings for dump file. */
#define REG_CLASS_NAMES \
diff --git a/gcc/config/v850/v850.md b/gcc/config/v850/v850.md
index 504a748..79b47e6 100644
--- a/gcc/config/v850/v850.md
+++ b/gcc/config/v850/v850.md
@@ -1563,7 +1563,7 @@
(define_insn "return"
[(return)]
- "reload_completed && compute_frame_size (get_frame_size (), (long *)0) == 0"
+ "reload_completed"
"jmp [r31]"
[(set_attr "length" "2")
(set_attr "cc" "none")])