]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/ChangeLog
re PR tree-optimization/56837 (-ftree-loop-distribute-patterns generates incorrect...
authorRichard Biener <rguenther@suse.de>
Thu, 4 Apr 2013 10:55:25 +0000 (10:55 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 4 Apr 2013 10:55:25 +0000 (10:55 +0000)
commitf1bf4f3afb21fdb807c050693ac9da523e64f2a4
tree4de685c6f239c04550d50264c0cd2569faa2cb2c
parent2d50082803f9338b666998cf15f50d6f2d43284d
re PR tree-optimization/56837 (-ftree-loop-distribute-patterns generates incorrect code)

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.

From-SVN: r197476
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr56837.C [new file with mode: 0644]
gcc/tree-loop-distribution.c