This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix for FAIL: memops-asm.c in gcc testcase
- From: Nick Clifton <nickc at redhat dot com>
- To: Kazuhiro Inaoka <inaoka dot kazuhiro at renesas dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 24 May 2005 11:04:56 +0100
- Subject: Re: [PATCH] fix for FAIL: memops-asm.c in gcc testcase
- References: <428D9EAF.2030000@renesas.com>
Hi Kazuhiro,
2005-05-20 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* config/m32r/m32r.md (movmemsi): Changed to fix FAIL memops-asm.c.
* config/m32r/m32r.c (m32r_expand_block_move): Ditto.
* config/m32r/m32r/m32r-protos.h (m32r_expand_block_move): Ditto.
Approved and applied (to the branches and mainline).
I made two small changes. In the comment at the start of
m32r_expand_block_move() I added:
Returns 1 upon success, 0 otherwise.
and I altered the ChangeLog entry to describe what was actually being
changed rather than the reason for it. Ie:
gcc/ChangeLog
2005-05-24 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* config/m32r/m32r.c (m32r_expand_block_move): Return 0 if
nothing was done.
* config/m32r/m32r.md (movmemsi): If m32r_expand_block_move did
nothing then FAIL.
* config/m32r/m32r/m32r-protos.h (m32r_expand_block_move): Update
prototype.
Cheers
Nick