This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix execute/va-arg-10.c on h8300 port.
- To: Kazu Hirata <kazu at hxi dot com>
- Subject: Re: [patch] Fix execute/va-arg-10.c on h8300 port.
- From: law at redhat dot com
- Date: Mon, 13 Aug 2001 00:15:46 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at redhat dot com
In message <200108121508.IAA16809@cygnus.com>you write:
> Hi,
>
> Attached is a patch to fix the failure of execute/va-arg-10.c on h8300
> port.
>
> When compiling execute/va-arg-10.c, the original gcc generates an
> 8-bit displacement jump insn even though the destination cannot be
> reached within an 8-bit displacement.
>
> This is because the insn length for "zero_extendqihi2" is incorrect.
> The first assembly insn in the second alternative can be as long as 8
> bytes, stretching the total up to 10 bytes. The patch fixes the insn
> length accordingly.
>
> Tested on h8300 port. OK to apply to both the branch and mainline?
>
> Thanks,
>
> Kazu Hirata
>
> 2001-08-12 Kazu Hirata <kazu@hxi.com>
>
> * config/h8300/h8300.md (zero_extendqihi2): Correct the insn
> length.
Approved fo r the mainline.
Please check the status of the release branch before installing it on the
release branch. I don't know if checkins require the release manager's
approval right now or not.
Jeff