public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/3792: Internal compiler error in grokdeclarator, at cp/decl.c:9760
@ 2002-03-15 6:16 Reichelt
0 siblings, 0 replies; 5+ messages in thread
From: Reichelt @ 2002-03-15 6:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/3792; it has been noted by GNATS.
From: Reichelt <reichelt@igpm.rwth-aachen.de>
To: gcc-gnats@gcc.gnu.org, david.abrahams@rcn.com, gcc-bugs@gcc.gnu.org,
nobody@gcc.gnu.org
Cc:
Subject: Re: c++/3792: Internal compiler error in grokdeclarator, at cp/decl.c:9760
Date: Fri, 15 Mar 2002 15:36:29 +0100
Hi,
an even shorter example that exposes the bug is the following:
---------------------------snip here-----------------------------
struct X
{
template <int i> struct Y {};
};
typedef X::template Y<0> y;
---------------------------snip here-----------------------------
Compiling this with "g++ -c bug.cpp" results in an ICE.
The problem can be found in gcc 2.95.3 and still persists in
gcc 3.1 20020311 (prerelease) (checked on i686-pc-linux-gnu and
mips-sgi-irix6.5).
Greetings,
Volker Reichelt
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3792
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c++/3792: Internal compiler error in grokdeclarator, at cp/decl.c:9760
@ 2002-12-30 14:26 Neil Booth
0 siblings, 0 replies; 5+ messages in thread
From: Neil Booth @ 2002-12-30 14:26 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR c++/3792; it has been noted by GNATS.
From: Neil Booth <neil@daikokuya.co.uk>
To: reichelt@igpm.rwth-aachen.de, david.abrahams@rcn.com,
gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, nobody@gcc.gnu.org,
gcc-gnats@gcc.gnu.org
Cc:
Subject: Re: c++/3792: Internal compiler error in grokdeclarator, at cp/decl.c:9760
Date: Mon, 30 Dec 2002 22:23:43 +0000
reichelt@igpm.rwth-aachen.de wrote:-
> Synopsis: Internal compiler error in grokdeclarator, at cp/decl.c:9760
>
> State-Changed-From-To: analyzed->closed
> State-Changed-By: reichelt
> State-Changed-When: Mon Dec 30 13:50:16 2002
> State-Changed-Why:
> Fixed in gcc 3.4 with the new parser.
Please add testcases for all this fixes.
Neil.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c++/3792: Internal compiler error in grokdeclarator, at cp/decl.c:9760
@ 2002-12-30 13:50 reichelt
0 siblings, 0 replies; 5+ messages in thread
From: reichelt @ 2002-12-30 13:50 UTC (permalink / raw)
To: david.abrahams, gcc-bugs, gcc-prs, nobody
Synopsis: Internal compiler error in grokdeclarator, at cp/decl.c:9760
State-Changed-From-To: analyzed->closed
State-Changed-By: reichelt
State-Changed-When: Mon Dec 30 13:50:16 2002
State-Changed-Why:
Fixed in gcc 3.4 with the new parser.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3792
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: c++/3792: Internal compiler error in grokdeclarator, at cp/decl.c:9760
@ 2001-08-05 2:02 lerdsuwa
0 siblings, 0 replies; 5+ messages in thread
From: lerdsuwa @ 2001-08-05 2:02 UTC (permalink / raw)
To: david.abrahams, gcc-bugs, gcc-prs, nobody
Synopsis: Internal compiler error in grokdeclarator, at cp/decl.c:9760
State-Changed-From-To: open->analyzed
State-Changed-By: lerdsuwa
State-Changed-When: Sun Aug 5 02:02:32 2001
State-Changed-Why:
Confirm as a bug.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3792&database=gcc
^ permalink raw reply [flat|nested] 5+ messages in thread
* c++/3792: Internal compiler error in grokdeclarator, at cp/decl.c:9760
@ 2001-07-24 9:36 david.abrahams
0 siblings, 0 replies; 5+ messages in thread
From: david.abrahams @ 2001-07-24 9:36 UTC (permalink / raw)
To: gcc-gnats
>Number: 3792
>Category: c++
>Synopsis: Internal compiler error in grokdeclarator, at cp/decl.c:9760
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 24 09:36:02 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: david.abrahams@rcn.com
>Release: gcc-3.0
>Organization:
>Environment:
cygwin / Win2000
>Description:
I have reduced the problem reported in c++/3791, but GnatsWeb won't let me edit the existing report (sorry).
etest.cpp:11: Internal error #19990331.
etest.cpp:11: Internal compiler error in grokdeclarator, at cp/decl.c:9760
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:
template <class T, class U>
struct x
{
template <class V> struct y {};
};
template <class T, class U, class V>
struct xy
{
typedef /* typename */ x<T,U>::template y<V> y;
y yy;
};
void f() { xy<int,char,void*> x_y; }
>Fix:
uncommenting "typename" above makes the program conforming and prevents the internal compiler error
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-12-30 22:26 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-15 6:16 c++/3792: Internal compiler error in grokdeclarator, at cp/decl.c:9760 Reichelt
-- strict thread matches above, loose matches on Subject: below --
2002-12-30 14:26 Neil Booth
2002-12-30 13:50 reichelt
2001-08-05 2:02 lerdsuwa
2001-07-24 9:36 david.abrahams
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).