From e144a2b3066ecad2a7c934b1cd437d2afad0018f Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Fri, 24 Aug 2018 11:17:16 +0000 Subject: cfg.h (struct control_flow_graph): Add edge_flags_allocated and bb_flags_allocated members. 2018-08-24 Richard Biener * 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/hsa-regalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/hsa-regalloc.c') diff --git a/gcc/hsa-regalloc.c b/gcc/hsa-regalloc.c index f402587..819f680 100644 --- a/gcc/hsa-regalloc.c +++ b/gcc/hsa-regalloc.c @@ -27,9 +27,9 @@ along with GCC; see the file COPYING3. If not see #include "tree.h" #include "dominance.h" #include "basic-block.h" -#include "cfg.h" -#include "cfganal.h" #include "function.h" +#include "cfganal.h" +#include "cfg.h" #include "bitmap.h" #include "dumpfile.h" #include "cgraph.h" -- cgit v1.1