[PATCH] fix for FAIL: memops-asm.c in gcc testcase

Nick Clifton nickc@redhat.com
Tue May 24 10:05:00 GMT 2005


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



More information about the Gcc-patches mailing list