From: Nick Clifton Date: Wed, 25 Oct 2000 20:33:00 +0000 (+0000) Subject: Include config.h before system.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc27e96cef148c57054f739c6f50a240c617bf2f;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1e708d93ec6..1ddc191751c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,13 @@ +2000-10-25 Nick Clifton + + * config/mcore/mcore.c: Include config.h before system.h. + +2000-10-25 Ray Essick + + * 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 * c-decl.c (grokdeclarator): Move warning for qualified void diff --git a/gcc/config/mcore/mcore.c b/gcc/config/mcore/mcore.c index 603b70c86f9..6fc606092ce 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 fa659a30498..4cc15370cf8 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"