public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/21339] New: [3.4 regression] ICE with pointer to member in template
@ 2005-05-02 14:13 reichelt at gcc dot gnu dot org
  2005-05-02 14:15 ` [Bug c++/21339] " pinskia at gcc dot gnu dot org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-05-02 14:13 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/21339] [3.4 regression] ICE with pointer to member in template
  2005-05-02 14:13 [Bug c++/21339] New: [3.4 regression] ICE with pointer to member in template reichelt at gcc dot gnu dot org
  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
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-02 14:15 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |3.4.3 4.1.0 4.0.0
   Target Milestone|---                         |3.4.4


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/21339] [3.4 regression] ICE with pointer to member in template
  2005-05-02 14:13 [Bug c++/21339] New: [3.4 regression] ICE with pointer to member in template reichelt at gcc dot gnu dot org
@ 2005-05-02 14:15 ` pinskia at gcc dot gnu dot org
  2005-05-02 14:15 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-02 14:15 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |21337
              nThis|                            |


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/21339] [3.4 regression] ICE with pointer to member in template
  2005-05-02 14:13 [Bug c++/21339] New: [3.4 regression] ICE with pointer to member in template reichelt at gcc dot gnu dot org
  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
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-02 14:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-02 14:18 -------
*** Bug 21337 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |weary at gamebox dot net


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/21339] [3.4 regression] ICE with pointer to member in template
  2005-05-02 14:13 [Bug c++/21339] New: [3.4 regression] ICE with pointer to member in template reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-02 14:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-02 14:19 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-05-02 14:19:10
               date|                            |


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/21339] [3.4 regression] ICE with pointer to member in template
  2005-05-02 14:13 [Bug c++/21339] New: [3.4 regression] ICE with pointer to member in template reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  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
  6 siblings, 0 replies; 8+ messages in thread
From: mark at codesourcery dot com @ 2005-05-02 14:56 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mark at codesourcery dot com  2005-05-02 14:56 -------
Subject: Re:  New: [3.4 regression] ICE with pointer to member
 in template

reichelt at gcc dot gnu dot org wrote:
> The testcase in PR 15875 started ICE'ing on the 3.4 branch again:

> Mark, this is most probably due to the fix for PR18464.

It is indeed.

> Could you please have a look?

In progress.

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

Yes, I'll add it in the process of figuring out what to do here.



-- 


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/21339] [3.4 regression] ICE with pointer to member in template
  2005-05-02 14:13 [Bug c++/21339] New: [3.4 regression] ICE with pointer to member in template reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  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
  6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-02 14:57 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |mark at codesourcery dot com
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug c++/21339] [3.4 regression] ICE with pointer to member in template
  2005-05-02 14:13 [Bug c++/21339] New: [3.4 regression] ICE with pointer to member in template reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2005-05-02 14:57 ` mmitchel at gcc dot gnu dot org
@ 2005-05-02 18:44 ` mmitchel at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-02 18:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From mmitchel at gcc dot gnu dot org  2005-05-02 18:44 -------
Fixed in 3.4.4.  See PR 15875 for the patch.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-05-02 18:44 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-02 14:13 [Bug c++/21339] New: [3.4 regression] ICE with pointer to member in template reichelt at gcc dot gnu dot org
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

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