r204394 - in /trunk/gcc: ChangeLog doc/md.texi ...

hjl@gcc.gnu.org hjl@gcc.gnu.org
Tue Nov 5 14:17:00 GMT 2013


Author: hjl
Date: Tue Nov  5 14:17:33 2013
New Revision: 204394

URL: http://gcc.gnu.org/viewcvs?rev=204394&root=gcc&view=rev
Log:
Don't use mode wider than Pmode for size in movmem/setmem

gcc/

	PR middle-end/58981
	* doc/md.texi (@code{movmem@var{m}}): Specify Pmode as mode of
	pattern, instead of word_mode.

	* expr.c (emit_block_move_via_movmem): Don't use mode wider than
	Pmode for size.
	(set_storage_via_setmem): Likewise.

gcc/testsuite/

	PR middle-end/58981
	* gcc.dg/pr58981.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr58981.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/md.texi
    trunk/gcc/expr.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list