This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bad mode-change inside subreg: DImode to SImode
- From: Julian Brown <brown at cs dot bris dot ac dot uk>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 15 Mar 2004 16:30:21 +0000 (UTC)
- Subject: Re: Bad mode-change inside subreg: DImode to SImode
- Organization: University of Bristol
- References: <slrnc56op6.ot5.brown@panic.cs.bris.ac.uk>
- Reply-to: brown at cs dot bris dot ac dot uk
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