This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/25659] [4.0/4.1/4.2 regression] ICE in build_call, at cp/call.c:324
- 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: 4 Jan 2006 03:42:46 -0000
- Subject: [Bug c++/25659] [4.0/4.1/4.2 regression] ICE in build_call, at cp/call.c:324
- References: <bug-25659-5724@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-04 03:42 -------
The reduced testcase for this one is:
template<class T, class I, class S, T *Allocator(S*,I)> class obj_pool {
public:
T *allocate(S *sim, const I& id) {
return Allocator(sim, id);
}
};
namespace simulator {
struct arm_simulator {
static int *mach_allocator(int *, int id);
};
}
using namespace simulator;
void g(void) {
obj_pool<int, int, int, arm_simulator::mach_allocator> *machine_pool;
machine_pool->allocate(0,0);
}
--------------
This was just fixed on the 22nd of December.
This is a dup of bug 25364.
*** This bug has been marked as a duplicate of 25364 ***
--
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=25659