re PR tree-optimization/86076 (ICE: verify_gimple failed (error: location references...
authorRichard Biener <rguenther@suse.de>
Fri, 15 Jun 2018 07:25:13 +0000 (07:25 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 15 Jun 2018 07:25:13 +0000 (07:25 +0000)
commit5b32ec103973c3b8f537c6e50fc8d954f27286de
tree8339b2aff1e9d29ab7aa60b7b6dd06cf3265a7d5
parenta8ef8061e1ccbacff39065df65b5c17fbd01805a
re PR tree-optimization/86076 (ICE: verify_gimple failed (error: location references block not in block tree))

2018-06-15  Richard Biener  <rguenther@suse.de>

PR middle-end/86076
* tree-cfg.c (move_stmt_op): unshare invariant addresses
before adjusting their block.

* gcc.dg/pr86076.c: New testcase.

From-SVN: r261620
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr86076.c [new file with mode: 0644]
gcc/tree-cfg.c