re PR rtl-optimization/69891 (wrong code with -mstringop-strategy=libcall @ i686)
authorJakub Jelinek <jakub@redhat.com>
Fri, 26 Feb 2016 15:53:43 +0000 (16:53 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Fri, 26 Feb 2016 15:53:43 +0000 (16:53 +0100)
commita2ad54a07a7336103ff30140b591b4d6eb348dfd
treeae1cf61ff668028960dbbf5e7352ada2e17af643
parent0884062c2cf3ee1a489591b89350478c4cca2db3
re PR rtl-optimization/69891 (wrong code with -mstringop-strategy=libcall @ i686)

PR rtl-optimization/69891
* dse.c (scan_insn): If we can't figure out memset arguments
or they are non-constant, call clear_rhs_from_active_local_stores.

* gcc.target/i386/pr69891.c: New test.

Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r233743
gcc/ChangeLog
gcc/dse.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr69891.c [new file with mode: 0644]