re PR tree-optimization/71104 (ICE: verify_ssa failed (with vfork / error: definitio...
authorRichard Biener <rguenther@suse.de>
Wed, 13 Jul 2016 08:03:04 +0000 (08:03 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 13 Jul 2016 08:03:04 +0000 (08:03 +0000)
commit7f15b177ba2b5907242dec45da10da635df3e16e
treeea0b49d988c805f076b94649d35c07b127b9da16
parent4a0e3b5ac35c0f2b2b7b93aee81ddb10a45ff6d3
re PR tree-optimization/71104 (ICE: verify_ssa failed (with vfork /  error: definition in block 3 does not dominate use in block 7 ))

2016-07-13  Richard Biener  <rguenther@suse.de>

PR middle-end/71104
* gimplify.c (gimplify_modify_expr): Gimplify the RHS before
gimplifying the LHS.  Make sure to gimplify a returning twice
call LHS without using SSA names.

* gcc.dg/pr71104-1.c: New testcase.
* gcc.dg/pr71104-2.c: Likewise.

From-SVN: r238287
gcc/ChangeLog
gcc/gimplify.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr71104-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr71104-2.c [new file with mode: 0644]