re PR tree-optimization/84969 (Wrong code with -ftree-loop-distribute-patterns)
authorBin Cheng <bin.cheng@arm.com>
Wed, 21 Mar 2018 10:42:34 +0000 (10:42 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 21 Mar 2018 10:42:34 +0000 (10:42 +0000)
commit49e4ca31396d129759ac1bfc2ffbd3f87aeb53cb
treef27f80a9a5e6fa1d78efcd4d2f2ecd95c36d9667
parent108b83c1fd97b06f1e99ffb5127f2c5b9623bb11
re PR tree-optimization/84969 (Wrong code with -ftree-loop-distribute-patterns)

PR tree-optimization/84969
* tree-loop-distribution.c (fuse_memset_builtins): Don't reorder
builtin memset partitions if they set different rhs values.

gcc/testsuite
* gcc.dg/tree-ssa/pr84969.c: New test.

From-SVN: r258710
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr84969.c [new file with mode: 0644]
gcc/tree-loop-distribution.c