From mboxrd@z Thu Jan 1 00:00:00 1970 From: david.abrahams@rcn.com To: gcc-gnats@gcc.gnu.org Subject: c++/3792: Internal compiler error in grokdeclarator, at cp/decl.c:9760 Date: Tue, 24 Jul 2001 09:36:00 -0000 Message-id: <20010724163501.23538.qmail@sourceware.cygnus.com> X-SW-Source: 2001-07/msg00639.html List-Id: >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 for instructions. >How-To-Repeat: template struct x { template struct y {}; }; template struct xy { typedef /* typename */ x::template y y; y yy; }; void f() { xy x_y; } >Fix: uncommenting "typename" above makes the program conforming and prevents the internal compiler error >Release-Note: >Audit-Trail: >Unformatted: