This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24171] g++-3.3: internal compiler error: in resolve_overloaded_unification, at cp/pt.c:8541
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Oct 2005 14:28:33 -0000
- Subject: [Bug c++/24171] g++-3.3: internal compiler error: in resolve_overloaded_unification, at cp/pt.c:8541
- References: <bug-24171-11450@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pinskia at gcc dot gnu dot org 2005-10-03 14:28 -------
Here is a reduced testcase for the bug effecting 2.95.3-3.4.0 but not 4.0.0 or
the mainline:
template<typename _Tp> struct _List_iterator {};
_List_iterator<int> end();
template<typename P_numtype, int N_length> class TinyVector {};
template<typename T, int N> bool TinyVectoreq(const TinyVector<T, N>& u,
const TinyVector<T, N>& v);
void test_collision() { (equal(end(), end(), (end(),
TinyVectoreq<int, 3>)));
The other reduced testcase for 3.4.0-current is already recorded as PR 21592 so
closing as a dup of that bug since the first only is only reproducible after
3.3.3 and the one in this comment is only 4.0.0 and below.
*** This bug has been marked as a duplicate of 21592 ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24171