------- Comment #2 from jakub at gcc dot gnu dot org  2008-07-30 10:20 -------
And
struct A
{
  A ();
  void *operator new (__SIZE_TYPE__, int = 0);
  template <typename T> void operator delete (void *, T);
};

template <> void A::operator delete<int> (void *, int);

A *p = new A;

ICEs in coerce_delete_type, type is METHOD_TYPE, but it asserts FUNCTION_TYPE.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dodji at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36406

Reply via email to