Wrong code generated for Hitachi SH

Joern Rennecke amylaar@cygnus.co.uk
Wed Mar 22 08:54:00 GMT 2000


> This happens with both gcc-2.95.2 and the 20000221 snapshot (the 20000230
> snapshot does not compile). egcs 1.1b did not have this problem. The same
> compiler, built for a powerpc-eabi target, produced correct code.

There was no 20000230 snapshot (or a 30th Febuary, for that matter), so
don't know what you did try to compile that failed.  At any rate, I've
recently applied a patch to reload to fix a bug like the one you have seen:

Fri Mar  3 12:49:28 2000  J"orn Rennecke <amylaar@cygnus.co.uk>

        * reload1.c (reload_combine_note_use): Handle return register USEs.
        REG case: Handle multi-hard-register hard regs.


More information about the Gcc mailing list