diff options
author | Richard Biener <rguenther@suse.de> | 2020-01-08 12:49:14 +0000 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2020-01-08 12:49:14 +0000 |
commit | f74c4b2c4427a4309d48bfc45bc140422a75aa6f (patch) | |
tree | 00c928724e41d530bce13fae0581a715f2131583 /gcc/c/gimple-parser.c | |
parent | d597b9445f0fddae407914e1497e3422e46ed15d (diff) | |
download | gcc-f74c4b2c4427a4309d48bfc45bc140422a75aa6f.zip gcc-f74c4b2c4427a4309d48bfc45bc140422a75aa6f.tar.gz gcc-f74c4b2c4427a4309d48bfc45bc140422a75aa6f.tar.bz2 |
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
Diffstat (limited to 'gcc/c/gimple-parser.c')
-rw-r--r-- | gcc/c/gimple-parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/c/gimple-parser.c b/gcc/c/gimple-parser.c index 7e4cd39..3370178 100644 --- a/gcc/c/gimple-parser.c +++ b/gcc/c/gimple-parser.c @@ -327,7 +327,7 @@ c_parser_parse_gimple_body (c_parser *cparser, char *gimple_pass, add_phi_arg (phi, gimple_call_arg (stmt, i + 1), e, UNKNOWN_LOCATION); } - gsi_remove (&gsi, false); + gsi_remove (&gsi, true); } /* Fill SSA name gaps, putting them on the freelist. */ for (unsigned i = 1; i < num_ssa_names; ++i) |