This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/32232] [4.1/4.2/4.3 Regression] ICE in resolve_overloaded_unification
- From: "mmitchel at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Jul 2007 07:32:09 -0000
- Subject: [Bug c++/32232] [4.1/4.2/4.3 Regression] ICE in resolve_overloaded_unification
- References: <bug-32232-87@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from mmitchel at gcc dot gnu dot org 2007-07-07 07:32 -------
Subject: Bug 32232
Author: mmitchel
Date: Sat Jul 7 07:31:54 2007
New Revision: 126435
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126435
Log:
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.
Added:
trunk/gcc/testsuite/g++.dg/template/overload9.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32232