public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/4249: Trouble with static templated member functions
@ 2001-09-06  8:56 reichelt
  0 siblings, 0 replies; 6+ messages in thread
From: reichelt @ 2001-09-06  8:56 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4249
>Category:       c++
>Synopsis:       Trouble with static templated member functions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 06 08:56:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Volker Reichelt
>Release:        gcc 3.0.2 (prerelease snapshot 20010903), gcc 3.0.1, gcc 2.95.3
>Organization:
>Environment:
mips-sgi-irix6.5, i686-pc-linux-gnu
>Description:
The following (legal) code snippet crashes various versions
of g++:

struct A
{
    void f();
    template <class T> static void g();
};

struct B {};

void h( void (*)() );

void A::f()
{
    h(&g<void>);
}

with the following error message:

Bug.cpp: In member function `void A::f()':
Bug.cpp:13: Internal compiler error in c_expand_expr, at c-common.c:4121
Please submit a full bug report, [...]
>How-To-Repeat:
g++ -c Bug.cpp
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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

* Re: c++/4249: Trouble with static templated member functions
@ 2002-10-26  7:26 Kriang Lerdsuwanakij
  0 siblings, 0 replies; 6+ messages in thread
From: Kriang Lerdsuwanakij @ 2002-10-26  7:26 UTC (permalink / raw)
  To: lerdsuwa; +Cc: gcc-prs

The following reply was made to PR c++/4249; it has been noted by GNATS.

From: Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
To: Reichelt <reichelt@igpm.rwth-aachen.de>
Cc: lerdsuwa@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
        gcc-gnats@gcc.gnu.org
Subject: Re: c++/4249: Trouble with static templated member functions
Date: Sat, 26 Oct 2002 21:23:17 +0700

 Reichelt wrote:
 
 >On 26 Oct, lerdsuwa@gcc.gnu.org wrote:
 >  
 >
 >>Synopsis: Trouble with static templated member functions
 >>
 >>Responsible-Changed-From-To: unassigned->lerdsuwa
 >>Responsible-Changed-By: lerdsuwa
 >>Responsible-Changed-When: Sat Oct 26 02:27:49 2002
 >>Responsible-Changed-Why:
 >>    Under investigation.
 >>
 >>http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4249
 >>
 >>    
 >>
 >
 >Hi,
 >
 >just FYI: the bug is fixed on mainline at least since 20020816.
 >Maybe there's a chance to dig out a patch from mainline for the branch.
 >
 >Greetings,
 >Volker
 >  
 >
 Thanks.  I was testing the code with some of my local changes, so
 wasn't sure if it was due to mainline changes or mine.  The bug
 report is now closed.  I don't think there will be a backport to
 fix this on the branch.  It is not a regression and the release
 of GCC 3.2.1 is near.
 
 --Kriang
 
 
 
 


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

* Re: c++/4249: Trouble with static templated member functions
@ 2002-10-26  7:19 lerdsuwa
  0 siblings, 0 replies; 6+ messages in thread
From: lerdsuwa @ 2002-10-26  7:19 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, lerdsuwa, reichelt

Synopsis: Trouble with static templated member functions

State-Changed-From-To: analyzed->closed
State-Changed-By: lerdsuwa
State-Changed-When: Sat Oct 26 07:19:24 2002
State-Changed-Why:
    Fixed.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4249


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

* Re: c++/4249: Trouble with static templated member functions
@ 2002-10-26  5:06 Reichelt
  0 siblings, 0 replies; 6+ messages in thread
From: Reichelt @ 2002-10-26  5:06 UTC (permalink / raw)
  To: lerdsuwa; +Cc: gcc-prs

The following reply was made to PR c++/4249; it has been noted by GNATS.

From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: lerdsuwa@gcc.gnu.org, gcc-bugs@gcc.gnu.org, nobody@gcc.gnu.org,
        gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: c++/4249: Trouble with static templated member functions
Date: Sat, 26 Oct 2002 14:55:56 +0200

 On 26 Oct, lerdsuwa@gcc.gnu.org wrote:
 > Synopsis: Trouble with static templated member functions
 > 
 > Responsible-Changed-From-To: unassigned->lerdsuwa
 > Responsible-Changed-By: lerdsuwa
 > Responsible-Changed-When: Sat Oct 26 02:27:49 2002
 > Responsible-Changed-Why:
 >     Under investigation.
 > 
 > http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4249
 > 
 
 Hi,
 
 just FYI: the bug is fixed on mainline at least since 20020816.
 Maybe there's a chance to dig out a patch from mainline for the branch.
 
 Greetings,
 Volker
 
 


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

* Re: c++/4249: Trouble with static templated member functions
@ 2002-10-26  2:27 lerdsuwa
  0 siblings, 0 replies; 6+ messages in thread
From: lerdsuwa @ 2002-10-26  2:27 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, lerdsuwa, nobody, reichelt

Synopsis: Trouble with static templated member functions

Responsible-Changed-From-To: unassigned->lerdsuwa
Responsible-Changed-By: lerdsuwa
Responsible-Changed-When: Sat Oct 26 02:27:49 2002
Responsible-Changed-Why:
    Under investigation.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4249


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

* Re: c++/4249: Trouble with static templated member functions
@ 2001-09-14  7:05 lerdsuwa
  0 siblings, 0 replies; 6+ messages in thread
From: lerdsuwa @ 2001-09-14  7:05 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, reichelt

Synopsis: Trouble with static templated member functions

State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Fri Sep 14 07:05:26 2001
State-Changed-Why:
    Confirm as a bug.  Still present in the main trunk.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4249&database=gcc


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

end of thread, other threads:[~2002-10-26 14:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-06  8:56 c++/4249: Trouble with static templated member functions reichelt
2001-09-14  7:05 lerdsuwa
2002-10-26  2:27 lerdsuwa
2002-10-26  5:06 Reichelt
2002-10-26  7:19 lerdsuwa
2002-10-26  7:26 Kriang Lerdsuwanakij

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