public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/36406] [4.2/4.3/4.4 regression] ICE with template delete operator
Date: Wed, 30 Jul 2008 10:21:00 -0000	[thread overview]
Message-ID: <20080730102035.20143.qmail@sourceware.org> (raw)
In-Reply-To: <bug-36406-1771@http.gcc.gnu.org/bugzilla/>



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


  parent reply	other threads:[~2008-07-30 10:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-01 10:32 [Bug c++/36406] New: [4.1/4.2/4.3/4.4 " reichelt at gcc dot gnu dot org
2008-06-01 10:32 ` [Bug c++/36406] " reichelt at gcc dot gnu dot org
2008-06-06 20:30 ` rguenth at gcc dot gnu dot org
2008-07-04 16:42 ` [Bug c++/36406] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-07-30 10:21 ` jakub at gcc dot gnu dot org [this message]
2008-09-20 15:15 ` rguenth at gcc dot gnu dot org
2009-02-05 15:36 ` paolo dot carlini at oracle dot com
2009-03-31 20:53 ` [Bug c++/36406] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-08-04 12:40 ` rguenth at gcc dot gnu dot org
2009-11-10  3:47 ` jason at gcc dot gnu dot org
2009-11-10 18:19 ` jason at gcc dot gnu dot org
2009-11-12 22:05 ` jason at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080730102035.20143.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).