Commit ff369548 by Mark Mitchell Committed by Mark Mitchell

pt.c (tsubst): Clear DECL_PENDING_INLINE_INFO for new FUNCTION_DECLs.

	* pt.c (tsubst): Clear DECL_PENDING_INLINE_INFO for new
	FUNCTION_DECLs.

From-SVN: r18720
parent 9d703598
Thu Mar 19 19:01:48 1998 Mark Mitchell <mmitchell@usa.net>
* pt.c (tsubst): Clear DECL_PENDING_INLINE_INFO for new
FUNCTION_DECLs.
Thu Mar 19 11:51:58 1998 Jason Merrill <jason@yorick.cygnus.com>
* decl.c (make_implicit_typename): Lose useless code.
......
......@@ -3964,6 +3964,7 @@ tsubst (t, args, in_decl)
DECL_DEFER_OUTPUT (r) = 0;
TREE_CHAIN (r) = NULL_TREE;
DECL_CHAIN (r) = NULL_TREE;
DECL_PENDING_INLINE_INFO (r) = 0;
if (IDENTIFIER_OPNAME_P (DECL_NAME (r)))
grok_op_properties (r, DECL_VIRTUAL_P (r), DECL_FRIEND_P (r));
......
// Build don't link:
template <class Type>
class CVector {
public:
CVector<int> f() const
{
CVector<int> v(n);
return v;
}
CVector<long> g() const
{
CVector<long> v(n);
return v;
}
};
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