Bad mode-change inside subreg: DImode to SImode

Julian Brown brown@cs.bris.ac.uk
Mon Mar 15 16:30:00 GMT 2004


On 2004-03-13, Julian Brown <brown@cs.bris.ac.uk> wrote:
> Hi,
>
> I am working on a port of GCC to a custom architecture, and I have
> hit a problem recently (possibly since starting working against newer
> versions of GCC) which I am having particular difficulty in solving. I
> am working against the gcc-3_4-branch, but the same thing happens with
> other recent branches.
>
> The following code refuses to compile:
> [snip]

Sorry to follow myself up, the problem turned out to be mishandling of
cumulative args when the function had an aggregate return value. I won't
bother the list with the new bug I've got now, since it looks like
I'm just about the only person who has any interest in sorting out the
little mess that I seem to have made of my port, which isn't a surprise
to me really.

I am slightly in awe of anyone who has managed to get a port off the
ground by themselves, eg Hans-Peter Nilsson with his CRIS & MMIX ports
(and the "Porting GCC for Dunces" document of course). I wonder how many
other people have managed it?

Cheers,

Julian



More information about the Gcc mailing list