From 429331b676df82e99c02bce1b65fa5376b48cf93 Mon Sep 17 00:00:00 2001 From: "Jose E. Marchesi" Date: Thu, 30 Aug 2018 22:28:31 +0200 Subject: cfg.h (class auto_edge_flag): Spell out the template-id of the base class in the initializer list. gcc: 2018-08-30 Jose E. Marchesi * cfg.h (class auto_edge_flag): Spell out the template-id of the base class in the initializer list. This is a workaround for building with older GCC. (class auto_bb_flag): Likewise. From-SVN: r263997 --- gcc/cfg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/cfg.h') diff --git a/gcc/cfg.h b/gcc/cfg.h index 9fff135..3d660bd 100644 --- a/gcc/cfg.h +++ b/gcc/cfg.h @@ -169,7 +169,7 @@ class auto_edge_flag : public auto_flag { public: auto_edge_flag (function *fun) - : auto_flag (&fun->cfg->edge_flags_allocated) {} + : auto_flag (&fun->cfg->edge_flags_allocated) {} }; /* RAII class to allocate a bb flag for temporary use. You have @@ -178,7 +178,7 @@ class auto_bb_flag : public auto_flag { public: auto_bb_flag (function *fun) - : auto_flag (&fun->cfg->bb_flags_allocated) {} + : auto_flag (&fun->cfg->bb_flags_allocated) {} }; #endif /* GCC_CFG_H */ -- cgit v1.1