linux-mips
[Top] [All Lists]

Re: gcc 3.3.4/3.4.1 and get_user

To: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Subject: Re: gcc 3.3.4/3.4.1 and get_user
From: Richard Sandiford <rsandifo@redhat.com>
Date: Mon, 20 Sep 2004 09:59:28 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <87656yqsmz.fsf@redhat.com> (Richard Sandiford's message of "Wed, 01 Sep 2004 09:51:16 +0100")
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20040901.012223.59462025.anemo@mba.ocn.ne.jp> <87656yqsmz.fsf@redhat.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
Richard Sandiford <rsandifo@redhat.com> writes:
> Atsushi Nemoto <anemo@mba.ocn.ne.jp> writes:
>> Is this a get_user's problem or gcc's?
>
> The latter.  gcc is putting the empty asm:
>
>       __asm__ ("":"=r" (__gu_val));
>
> into the delay slot of the call.

FYI, this is now being tracked as gcc bugzilla PR 17565:

    http://gcc.gnu.org/PR17565

The fix has so far been applied to 4.0.

Richard

<Prev in Thread] Current Thread [Next in Thread>