public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3138: Internal Error 56 on nasty (legal) template stuff
@ 2001-06-14 19:24 rodrigc
  0 siblings, 0 replies; 2+ messages in thread
From: rodrigc @ 2001-06-14 19:24 UTC (permalink / raw)
  To: Garth_Dickie, gcc-bugs, gcc-prs, nobody

Synopsis: Internal Error 56 on nasty (legal) template stuff

State-Changed-From-To: open->closed
State-Changed-By: rodrigc
State-Changed-When: Thu Jun 14 19:24:01 2001
State-Changed-Why:
    Internal Compiler Error does not occur with:
    gcc version 3.0 20010614 (prerelease)

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


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

* c++/3138: Internal Error 56 on nasty (legal) template stuff
@ 2001-06-12  9:36 Garth_Dickie
  0 siblings, 0 replies; 2+ messages in thread
From: Garth_Dickie @ 2001-06-12  9:36 UTC (permalink / raw)
  To: gcc-gnats

>Number:         3138
>Category:       c++
>Synopsis:       Internal Error 56 on nasty (legal) template stuff
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 12 09:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Garth A. Dickie
>Release:        2.95.3 19991030 (prerelease)
>Organization:
>Environment:
Mandrake 7.2
>Description:
Internal compiler error on legal, nasty, template code.
It appears irreducible from the example below.
>How-To-Repeat:
# 1 "internalCompilerError.cpp"
typedef void ( * F )( );

template< class T >
struct A
{
	static F sF;
};

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

template< class T >
F A< T >::sF = B::f< T >;

F gF = A< int >::sF;
>Fix:

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


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

end of thread, other threads:[~2001-06-14 19:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-14 19:24 c++/3138: Internal Error 56 on nasty (legal) template stuff rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2001-06-12  9:36 Garth_Dickie

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