This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: gcc/mcore optimizer bug (FATAL)
- To: essick at ddna dot labs dot mot dot com
- Subject: Re: gcc/mcore optimizer bug (FATAL)
- From: Nick Clifton <nickc at redhat dot com>
- Date: Wed, 25 Oct 2000 13:36:24 -0700
- CC: jmarin at pyy dot jmp dot fi, jdein at windriver dot com, gcc-patches at gcc dot gnu dot org
Hi Ray, Hi Jukka,
: From: Ray Essick <essick@ddna.labs.mot.com>
:
: Here's some stuff that recently came across my desk, along with
: an el-cheapo fix for the bad code generation. There is actually
: a better way to fix it so that for leaf functions it will do the
: right thing (return from wherever instead of branch to common epilog/return)
: -- but I thought I'd give you this fix for now so that the code
: generation would be correct, even though sub-optimal.
Great - thanks very much. I have confirmed that this patch fixes the
bug reported by Jukka, and I have checked it in to the repository. (I
also checked in a patch to fix building the toolchain under RH 6.2,
where some include files were included in the wrong order).
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.
Cheers
Nick