Commit 429331b6 by Jose E. Marchesi Committed by Jose E. Marchesi

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
parent 9d36bd3b
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.
2018-08-30 Aaron Sawdey <acsawdey@linux.ibm.com>
* config/rs6000/altivec.md (altivec_eq<mode>): Remove star.
......
......@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment