m32c.c (m32c_emit_epilogue): Don't try to push registers if we already know there...
authorDJ Delorie <dj@redhat.com>
Tue, 19 Apr 2011 20:37:11 +0000 (16:37 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Tue, 19 Apr 2011 20:37:11 +0000 (16:37 -0400)
commitf067961248ea104024f8b313ae39b3b95af1f8b5
tree97515e749f5b4fd7edaa9e6f32c6622c08a7a6fa
parent32257ddc4e61bfc4f43dff011313744fecc3fbe1
m32c.c (m32c_emit_epilogue): Don't try to push registers if we already know there aren't any.

* config/m32c/m32c.c (m32c_emit_epilogue): Don't try to push
registers if we already know there aren't any.
(m32c_emit_epilogue): Don't emit a barrier here.
(m32c_emit_eh_epilogue): Likewise.
* config/m32c/blkmov.md (movstr): Don't fail on wrong-type
operands at expand time.
* config/m32c/m32c.h (WCHAR_TYPE_SIZE): Change to 4 to match "long
int" wchar type.
(REG_CLASS_CONTENTS, reg_class, REG_CLASS_NAMES): Remove
duplicates.  Provide aliases instead.
* config/m32c/prologue.md (eh_return): Emit a barrier here.
(eh_epilogue): Add a "(return)" here as a hint to other parts of
the compiler.

From-SVN: r172735
gcc/ChangeLog
gcc/config/m32c/blkmov.md
gcc/config/m32c/m32c.c
gcc/config/m32c/m32c.h
gcc/config/m32c/prologue.md