cfg.h (struct control_flow_graph): Add edge_flags_allocated and bb_flags_allocated...
authorRichard Biener <rguenther@suse.de>
Fri, 24 Aug 2018 11:17:16 +0000 (11:17 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 24 Aug 2018 11:17:16 +0000 (11:17 +0000)
commite144a2b3066ecad2a7c934b1cd437d2afad0018f
tree1bf53ff1e85aa724075fc8e89e510ebad078c63e
parent6a84c265a32e6f407cf6712040df65527ffcf445
cfg.h (struct control_flow_graph): Add edge_flags_allocated and bb_flags_allocated members.

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.

From-SVN: r263830
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