]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cfgloop.h
cfgloop.h (loop_iterator::~loop_iterator): Remove.
authorRichard Biener <rguenther@suse.de>
Thu, 21 Nov 2019 13:46:18 +0000 (13:46 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 21 Nov 2019 13:46:18 +0000 (13:46 +0000)
commitd78b70959f334699bf556e9b8d4e0a8c12a64b46
treebbeb4dbda1117ae17d50415a6053d914cf30f236
parente2a05fdfd4798192493c582ec6528c975bfa9b0c
cfgloop.h (loop_iterator::~loop_iterator): Remove.

2019-11-21  Richard Biener  <rguenther@suse.de>

* cfgloop.h (loop_iterator::~loop_iterator): Remove.
(loop_iterator::to_visit): Use an auto_vec with internal storage.
(loop_iterator::loop_iterator): Adjust.
* cfganal.c (compute_dominance_frontiers_1): Fold into...
(compute_dominance_frontiers): ... this.  Hoist invariant
get_immediate_dominator call.
(compute_idf): Use a work-set instead of a work-list for more
optimal iteration order and duplicate avoidance.
* tree-into-ssa.c (mark_phi_for_rewrite): Avoid re-allocating
the vector all the time, instead pre-allocate the vector only
once.
(delete_update_ssa): Simplify.
* vec.h (va_heap::release): Disable -Wfree-nonheap-object around it.

From-SVN: r278550
gcc/ChangeLog
gcc/cfganal.c
gcc/cfgloop.h
gcc/tree-into-ssa.c
gcc/vec.h