public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/21339] New: [3.4 regression] ICE with pointer to member in template
Date: Mon, 02 May 2005 14:13:00 -0000	[thread overview]
Message-ID: <20050502141327.21339.reichelt@gcc.gnu.org> (raw)

The testcase in PR 15875 started ICE'ing on the 3.4 branch again:

==================================
struct A
{
    void foo();
};

template<int> void bar()
{
    typedef void (A::*fptr)();
    fptr ptr = &A::foo;
}
==================================

bug.c: In function `void bar()':
bug.c:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:5548
Please submit a full bug report, [etc.]

Mark, this is most probably due to the fix for PR18464.
Could you please have a look?

The testcase doesn't seem to be in the testsuite.
It should probably be added.

-- 
           Summary: [3.4 regression] ICE with pointer to member in template
           Product: gcc
           Version: 3.4.4
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,mmitchel at gcc dot gnu
                    dot org


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


             reply	other threads:[~2005-05-02 14:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-02 14:13 reichelt at gcc dot gnu dot org [this message]
2005-05-02 14:15 ` [Bug c++/21339] " pinskia at gcc dot gnu dot org
2005-05-02 14:15 ` pinskia at gcc dot gnu dot org
2005-05-02 14:18 ` pinskia at gcc dot gnu dot org
2005-05-02 14:19 ` pinskia at gcc dot gnu dot org
2005-05-02 14:56 ` mark at codesourcery dot com
2005-05-02 14:57 ` mmitchel at gcc dot gnu dot org
2005-05-02 18:44 ` mmitchel 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=20050502141327.21339.reichelt@gcc.gnu.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).