This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc/mcore optimizer bug (FATAL)


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]