aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2008-08-28 16:57:34 +0000
committerNick Clifton <nickc@gcc.gnu.org>2008-08-28 16:57:34 +0000
commit724df8d2708df875f12f7aa8e20bff1909cd31d4 (patch)
tree6d2782b51f8ca2fdacd172cfb71bf0bf9847262f /gcc
parentd43b42f98a3cae624a165c3968a00f0abd2257e8 (diff)
downloadgcc-724df8d2708df875f12f7aa8e20bff1909cd31d4.zip
gcc-724df8d2708df875f12f7aa8e20bff1909cd31d4.tar.gz
gcc-724df8d2708df875f12f7aa8e20bff1909cd31d4.tar.bz2
v850.h (IRA_COVER_CLASSES): Define.
* config/v850/v850.h (IRA_COVER_CLASSES): Define. * config/v850/v850.md (return): Remove frame size restriction. From-SVN: r139722
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")])