https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81207
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Tue Jun 27 08:16:10 2017 New Revision: 249679 URL: https://gcc.gnu.org/viewcvs?rev=249679&root=gcc&view=rev Log: 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. Added: branches/gcc-7-branch/gcc/testsuite/gcc.c-torture/compile/pr81207.c Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/gimple-fold.c branches/gcc-7-branch/gcc/testsuite/ChangeLog