r197568 - in /trunk/gcc: ChangeLog testsuite/Ch...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Mon Apr 8 08:20:00 GMT 2013


Author: jakub
Date: Mon Apr  8 08:20:39 2013
New Revision: 197568

URL: http://gcc.gnu.org/viewcvs?rev=197568&root=gcc&view=rev
Log:
	* tree-loop-distribution.c (const_with_all_bytes_same): New function.
	(generate_memset_builtin): Only handle integer_all_onesp as -1 val if
	TYPE_PRECISION is equal to mode bitsize.  Use const_with_all_bytes_same
	if possible to compute val.
	(classify_partition): Verify CONSTRUCTOR doesn't have any elts.
	For QImode integers don't require anything about precision.  Use
	const_with_all_bytes_same to find out if the constant doesn't have
	repeated bytes in it.

	* gcc.dg/pr56837.c: New test.
	* gcc.dg/tree-ssa/ldist-19.c: Don't check for
	"generated memset minus one".

Added:
    trunk/gcc/testsuite/gcc.dg/pr56837.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.dg/tree-ssa/ldist-19.c
    trunk/gcc/tree-loop-distribution.c



More information about the Gcc-cvs mailing list