OSDN Git Service

2013-04-04 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Apr 2013 10:55:25 +0000 (10:55 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Apr 2013 10:55:25 +0000 (10:55 +0000)
commit616d052d46b0b972458af7c4db2c565bac93b470
tree4de685c6f239c04550d50264c0cd2569faa2cb2c
parent35a1ce789de5614976b66c6ca793fe31d9408fcc
2013-04-04  Richard Biener  <rguenther@suse.de>

PR tree-optimization/56837
* tree-loop-distribution.c (classify_partition): For non-zero
values require that the value has the same precision as its
mode to be useful as memset value.

* g++.dg/torture/pr56837.C: New testcase.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197476 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr56837.C [new file with mode: 0644]
gcc/tree-loop-distribution.c