re PR tree-optimization/93199 (Compile time hog in sink_clobbers)
authorRichard Biener <rguenther@suse.de>
Wed, 8 Jan 2020 12:49:14 +0000 (12:49 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 8 Jan 2020 12:49:14 +0000 (12:49 +0000)
commitf74c4b2c4427a4309d48bfc45bc140422a75aa6f
tree00c928724e41d530bce13fae0581a715f2131583
parentd597b9445f0fddae407914e1497e3422e46ed15d
re PR tree-optimization/93199 (Compile time hog in sink_clobbers)

2019-01-08  Richard Biener  <rguenther@suse.de>

PR middle-end/93199
c/
* gimple-parser.c (c_parser_parse_gimple_body): Remove __PHI IFN
permanently.

* gimple-fold.c (rewrite_to_defined_overflow): Mark stmt modified.
* tree-ssa-loop-im.c (move_computations_worker): Properly adjust
virtual operand, also updating SSA use.
* gimple-loop-interchange.cc (loop_cand::undo_simple_reduction):
Update stmt after resetting virtual operand.
(tree_loop_interchange::move_code_to_inner_loop): Likewise.

* gimple-iterator.c (gsi_remove): When not removing the stmt
permanently do not delink immediate uses or mark the stmt modified.

From-SVN: r280000
gcc/ChangeLog
gcc/c/ChangeLog
gcc/c/gimple-parser.c
gcc/gimple-fold.c
gcc/gimple-iterator.c
gcc/gimple-loop-interchange.cc
gcc/tree-ssa-loop-im.c