This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]