[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Bug c++/25659] [4.0/4.1/4.2 regression] ICE in build_call, at cp/call.c:324




------- 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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
You reported the bug, or are watching the reporter.



Reply to: