2013-04-04 Richard Biener <rguenther@suse.de>
commit3aab4089679e718ed4f66faf457fc70ec7d1f2fc
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Apr 2013 11:00:45 +0000 (4 11:00 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Apr 2013 11:00:45 +0000 (4 11:00 +0000)
treeb697566b615403d6848da1c8034a40e1e3ebfdda
parent5d9a585701cd7dca2573c484528fb1f312b3bead
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/branches/gcc-4_8-branch@197477 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