re PR c++/32232 (ICE in resolve_overloaded_unification)
authorMark Mitchell <mark@codesourcery.com>
Sat, 7 Jul 2007 07:31:54 +0000 (07:31 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 7 Jul 2007 07:31:54 +0000 (07:31 +0000)
commitacde59b4419ee48716341483ad5576b9420ecc34
treebca463c42618d10c0ca30ba315e4729c03478151
parente9bd9cf340129729a451df77baee39f5b2978226
re PR c++/32232 (ICE in resolve_overloaded_unification)

PR c++/32232
* pt.c (resolve_overloaded_unification): Robustify.  Return a
bool, not an int.
(type_unification_real): Adjust accordingly.
PR c++/32232
* g++.dg/template/overload9.C: New test.

From-SVN: r126435
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/overload9.C [new file with mode: 0644]