re PR lto/88087 (ICE in execute at tree-ssa-pre.c:4220 since r266183)
authorRichard Biener <rguenther@suse.de>
Tue, 20 Nov 2018 08:06:09 +0000 (08:06 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 20 Nov 2018 08:06:09 +0000 (08:06 +0000)
commit07b9f1de1ea532a66d8ac103f3a9827521d780f9
tree1de93f563d84b963315706bca28ba1aa89b3ec66
parent14b6a72109964eaf00aa3a46f0f9776bbcaef067
re PR lto/88087 (ICE in execute at tree-ssa-pre.c:4220 since r266183)

2018-11-20  Richard Biener  <rguenther@suse.de>

PR tree-optimization/88087
* tree-ssa-pre.c (create_expression_by_pieces): Re-materialize
call fntype.
* tree-ssa-sccvn.c (copy_reference_ops_from_call): Remember
call fntype.

* gcc.dg/tree-ssa/pr88087.c: New testcase.

From-SVN: r266301
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr88087.c [new file with mode: 0644]
gcc/tree-ssa-pre.c
gcc/tree-ssa-sccvn.c