re PR tree-optimization/88945 (ICE in fold_convert_loc in FRE when using -fdump-tree...
authorRichard Biener <rguenther@suse.de>
Mon, 18 Mar 2019 13:59:11 +0000 (13:59 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 18 Mar 2019 13:59:11 +0000 (13:59 +0000)
commitca6d4a08c120841654acb10b973b0d009b053ef3
treead85bf9aa281b6f0ae99a6d52b1feae8ec504aa6
parentf9cacebbde8427e0537e79fe87dd1c89251a2582
re PR tree-optimization/88945 (ICE in fold_convert_loc in FRE when using -fdump-tree-fre-details)

2019-03-18  Richard Biener  <rguenther@suse.de>

PR middle-end/88945
* tree-ssanames.c (release_ssa_name_fn): For released SSA names
use a TREE_TYPE of error_mark_node to avoid ICEs when dumping
basic-blocks that are removed.  Remove restoring SSA_NAME_VAR.
* tree-outof-ssa.c (eliminate_useless_phis): Remove redundant checking.

From-SVN: r269765
gcc/ChangeLog
gcc/tree-outof-ssa.c
gcc/tree-ssanames.c