mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 13:39:38 +08:00
pt.c (unify): Handle `void' template parameters in specializations.
* pt.c (unify): Handle `void' template parameters in specializations. From-SVN: r16772
This commit is contained in:
parent
5f1a18f649
commit
5ad5a5263d
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user