diff options
author | Jose E. Marchesi <jose.marchesi@oracle.com> | 2018-08-30 22:28:31 +0200 |
---|---|---|
committer | Jose E. Marchesi <jemarch@gcc.gnu.org> | 2018-08-30 22:28:31 +0200 |
commit | 429331b676df82e99c02bce1b65fa5376b48cf93 (patch) | |
tree | 78df94d6275cab00dee130976111e97e323cd5cf /gcc/cfg.h | |
parent | 9d36bd3b1763035447bf201542545e8b5dcf962d (diff) | |
download | gcc-429331b676df82e99c02bce1b65fa5376b48cf93.zip gcc-429331b676df82e99c02bce1b65fa5376b48cf93.tar.gz gcc-429331b676df82e99c02bce1b65fa5376b48cf93.tar.bz2 |
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 <jose.marchesi@oracle.com>
* 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
Diffstat (limited to 'gcc/cfg.h')
-rw-r--r-- | gcc/cfg.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -169,7 +169,7 @@ class auto_edge_flag : public auto_flag<int> { public: auto_edge_flag (function *fun) - : auto_flag (&fun->cfg->edge_flags_allocated) {} + : auto_flag<int> (&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<int> { public: auto_bb_flag (function *fun) - : auto_flag (&fun->cfg->bb_flags_allocated) {} + : auto_flag<int> (&fun->cfg->bb_flags_allocated) {} }; #endif /* GCC_CFG_H */ |