public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3637: Internal compiler error in finish_member_declaration
@ 2001-11-17 0:06 mmitchel
0 siblings, 0 replies; 4+ messages in thread
From: mmitchel @ 2001-11-17 0:06 UTC (permalink / raw)
To: gcc-bugs, gcc-gnats, gcc-prs, gdr, philippeb
Synopsis: Internal compiler error in finish_member_declaration
State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Wed Nov 21 16:24:55 2001
State-Changed-Why:
Fixed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3637&database=gcc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/3637: Internal compiler error in finish_member_declaration
@ 2001-11-17 0:14 mmitchel
0 siblings, 0 replies; 4+ messages in thread
From: mmitchel @ 2001-11-17 0:14 UTC (permalink / raw)
To: gdr; +Cc: gcc-prs
The following reply was made to PR c++/3637; it has been noted by GNATS.
From: mmitchel@gcc.gnu.org
To: gcc-bugs@gcc.gnu.org, gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org,
gdr@gcc.gnu.org, philippeb@videotron.ca
Cc:
Subject: Re: c++/3637: Internal compiler error in finish_member_declaration
Date: 22 Nov 2001 00:24:56 -0000
Synopsis: Internal compiler error in finish_member_declaration
State-Changed-From-To: analyzed->closed
State-Changed-By: mmitchel
State-Changed-When: Wed Nov 21 16:24:55 2001
State-Changed-Why:
Fixed.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&pr=3637&database=gcc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: c++/3637: Internal compiler error in finish_member_declaration
@ 2001-08-12 6:50 gdr
0 siblings, 0 replies; 4+ messages in thread
From: gdr @ 2001-08-12 6:50 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, gdr, nobody, philippeb
Synopsis: Internal compiler error in finish_member_declaration
Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Sun Aug 12 06:50:23 2001
Responsible-Changed-Why:
See below.
State-Changed-From-To: open->analyzed
State-Changed-By: gdr
State-Changed-When: Sun Aug 12 06:50:23 2001
State-Changed-Why:
Confirmed as bug. A regression over 2.95.2
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3637&database=gcc
^ permalink raw reply [flat|nested] 4+ messages in thread
* c++/3637: Internal compiler error in finish_member_declaration
@ 2001-07-10 15:46 philippeb
0 siblings, 0 replies; 4+ messages in thread
From: philippeb @ 2001-07-10 15:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 3637
>Category: c++
>Synopsis: Internal compiler error in finish_member_declaration
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 10 15:46:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: g++ 3.0
>Release: 20010402 (Debian prerelease)
>Organization:
>Environment:
Debian i386
>Description:
Internal comipler error when attempting to instanciate a template class scope template class from a template class using a template class scope typedef (with the typename keyword).
I get the following messages:
recursivetemplate.cpp: In instantiation of `c1<int>::c2<void>':
recursivetemplate.cpp:19: instantiated from `c1<_T>::c2<_U>::c2() [with _U = void, _T = int]'
recursivetemplate.cpp:29: instantiated from `void foo() [with _T = int]'
recursivetemplate.cpp:35: instantiated from here
recursivetemplate.cpp:16: Internal compiler error in finish_member_declaration,
at cp/semantics.c:1844
Please submit a full bug report, with preprocessed source if appropriate.
See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
>How-To-Repeat:
>Fix:
1- Move the nested template class into global namespace
2- Don't instanciate the nested template class using a nested typedef
3- Instanciate everything from a non class member
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-c++src; name="recursivetemplate.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="recursivetemplate.cpp"
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCnRlbXBsYXRlIDxjbGFz
cyBfVD4gc3RydWN0IHRyYWl0cwp7Cgl0eXBlZGVmIGxvbmcgbmV4dDsKfTsKCgp0ZW1wbGF0ZSA8
Y2xhc3MgX1Q+CglzdHJ1Y3QgYzEKCXsKCQl0ZW1wbGF0ZSA8Y2xhc3MgX1U+CgkJCXN0cnVjdCBj
MgoJCQl7CgkJCQljMigpCgkJCQl7CgkJCQkJY291dCA8PCBfX1BSRVRUWV9GVU5DVElPTl9fIDw8
IGVuZGw7CgkJCQl9CgkJCX07Cgl9OwoKCnRlbXBsYXRlIDxjbGFzcyBfVD4KCXZvaWQgZm9vKCkK
CXsKCQljb3V0IDw8IF9fUFJFVFRZX0ZVTkNUSU9OX18gPDwgZW5kbDsKCQljMTx0eXBlbmFtZSB0
cmFpdHM8X1Q+OjpuZXh0Pjo6YzI8dm9pZD4oKTsKCX0KCgppbnQgbWFpbigpCnsKCWZvbzxpbnQ+
KCk7Cn0K
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-11-22 0:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-17 0:06 c++/3637: Internal compiler error in finish_member_declaration mmitchel
-- strict thread matches above, loose matches on Subject: below --
2001-11-17 0:14 mmitchel
2001-08-12 6:50 gdr
2001-07-10 15:46 philippeb
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).