2018-08-24 Richard Biener <rguenther@suse.de>
commit2515797e5db67076d6cf7f3f185757c841f79edf
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Aug 2018 11:17:16 +0000 (24 11:17 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 24 Aug 2018 11:17:16 +0000 (24 11:17 +0000)
tree1bf53ff1e85aa724075fc8e89e510ebad078c63e
parent6fad3a45f02a9021d4f505d56cb39df83dce1a52
2018-08-24  Richard Biener  <rguenther@suse.de>

* cfg.h (struct control_flow_graph): Add edge_flags_allocated and
bb_flags_allocated members.
(auto_flag): New RAII class for allocating flags.
(auto_edge_flag): New RAII class for allocating edge flags.
(auto_bb_flag): New RAII class for allocating bb flags.
* cfgloop.c (verify_loop_structure): Allocate temporary edge
flag dynamically.
* cfganal.c (dfs_enumerate_from): Remove use of visited sbitmap
in favor of temporarily allocated BB flag.
* hsa-brig.c: Re-order includes.
* hsa-dump.c: Likewise.
* hsa-regalloc.c: Likewise.
* print-rtl.c: Likewise.
* profile-count.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@263830 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfg.c
gcc/cfg.h
gcc/cfganal.c
gcc/cfgloop.c
gcc/hsa-brig.c
gcc/hsa-dump.c
gcc/hsa-regalloc.c
gcc/print-rtl.c
gcc/profile-count.c