Commit 5ad5a526 by Mark Mitchell Committed by Jason Merrill

pt.c (unify): Handle `void' template parameters in specializations.

	* pt.c (unify): Handle `void' template parameters in
	specializations.

From-SVN: r16772
parent 5f1a18f6
1997-11-26 Mark Mitchell <mmitchell@usa.net>
* pt.c (unify): Handle `void' template parameters in
specializations.
Wed Nov 26 01:11:24 1997 Jason Merrill <jason@yorick.cygnus.com>
* rtti.c (build_dynamic_cast): Handle template case here.
......
......@@ -3851,6 +3851,7 @@ unify (tparms, targs, ntparms, parm, arg, nsubsts, strict)
case COMPLEX_TYPE:
case INTEGER_TYPE:
case BOOLEAN_TYPE:
case VOID_TYPE:
if (TREE_CODE (arg) != TREE_CODE (parm))
return 1;
......
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