aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorNick Clifton <nickc@gcc.gnu.org>2000-10-25 20:33:00 +0000
committerNick Clifton <nickc@gcc.gnu.org>2000-10-25 20:33:00 +0000
commitbc27e96cef148c57054f739c6f50a240c617bf2f (patch)
tree7d4d83e7197bc3d04c0bda5a566e019229727d11 /gcc
parent35241f18b209ba7ed97281f5e24c3359bb86b2b7 (diff)
downloadgcc-bc27e96cef148c57054f739c6f50a240c617bf2f.zip
gcc-bc27e96cef148c57054f739c6f50a240c617bf2f.tar.gz
gcc-bc27e96cef148c57054f739c6f50a240c617bf2f.tar.bz2
Include config.h before system.h.
Force function epilogue to always be generated to work around epilogue suppression bug in M*Core backend. From-SVN: r37059
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog10
-rw-r--r--gcc/config/mcore/mcore.c2
-rw-r--r--gcc/config/mcore/mcore.md2
3 files changed, 12 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1e708d9..1ddc191 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,13 @@
+2000-10-25 Nick Clifton <nickc@redhat.com>
+
+ * config/mcore/mcore.c: Include config.h before system.h.
+
+2000-10-25 Ray Essick <essick@ddna.labs.mot.com>
+
+ * config/mcore/mcore.md (return): Force function epilogue to
+ always be generated to work around epilogue suppression bug in
+ M*Core backend.
+
2000-10-25 Joseph S. Myers <jsm28@cam.ac.uk>
* c-decl.c (grokdeclarator): Move warning for qualified void
diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c
index 603b70c..6fc6060 100644
--- a/gcc/config/mcore/mcore.c
+++ b/gcc/config/mcore/mcore.c
@@ -17,11 +17,11 @@ You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
+#include "config.h"
#include "system.h"
#include "assert.h"
#include "gansidecl.h"
-#include "config.h"
#include "rtl.h"
#include "mcore.h"
diff --git a/gcc/config/mcore/mcore.md b/gcc/config/mcore/mcore.md
index fa659a3..4cc1537 100644
--- a/gcc/config/mcore/mcore.md
+++ b/gcc/config/mcore/mcore.md
@@ -1980,7 +1980,7 @@
"jmp %0"
[(set_attr "type" "jmp")])
-(define_insn "return"
+(define_insn "*return"
[(return)]
"reload_completed && ! mcore_naked_function_p ()"
"jmp r15"