public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* c++/5699: internal error when parsing exception specification w/template type
@ 2002-02-14 22:26 be_artv
0 siblings, 0 replies; only message in thread
From: be_artv @ 2002-02-14 22:26 UTC (permalink / raw)
To: gcc-gnats
>Number: 5699
>Category: c++
>Synopsis: internal error when parsing exception specification w/template type
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: accepts-illegal
>Submitter-Id: net
>Arrival-Date: Thu Feb 14 22:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Art Bezrodnoff
>Release: gcc version 3.0.3
>Organization:
>Environment:
Sun U-SPARCII, Solaris7
>Description:
copiler-generated mesage:
test.cc:10: Internal error #108.
test.cc:10: Internal compiler error in incomplete_type_error, at cp/typeck2.c:
249
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:
source code:
->begin
// test.cc - reproduces gcc 3.0.3 problem
class CParam {
public:
struct SIn { int a; };
};
template <typename _T>
class CTempl {
public:
int f() throw(typename _T::SIn) { return 0; }
};
int main(void)
{
CTempl<CParam> l;
int t = l.f();
return 0;
}
->end
command line:
gcc test.cc
>Fix:
none
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-02-15 6:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-14 22:26 c++/5699: internal error when parsing exception specification w/template type be_artv
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).