re PR middle-end/81207 (tree check fail in simplify_builtin_call)
authorJakub Jelinek <jakub@redhat.com>
Tue, 27 Jun 2017 07:22:14 +0000 (09:22 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Tue, 27 Jun 2017 07:22:14 +0000 (09:22 +0200)
commit00296d7f68fe3f6ce378fed88eab9999af3a2449
tree6e7f1bf44e0d32edb9abff6bcb8c280997b28bf9
parent0c41863093aedb7bc7e3771bebb070e8f433b17f
re PR middle-end/81207 (tree check fail in simplify_builtin_call)

PR middle-end/81207
* gimple-fold.c (replace_call_with_call_and_fold): Handle
gimple_vuse copying separately from gimple_vdef copying.

* gcc.c-torture/compile/pr81207.c: New test.

From-SVN: r249677
gcc/ChangeLog
gcc/gimple-fold.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr81207.c [new file with mode: 0644]