From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6437 invoked by alias); 11 Apr 2002 10:06:05 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 6379 invoked by uid 71); 11 Apr 2002 10:06:04 -0000 Resent-Date: 11 Apr 2002 10:06:04 -0000 Resent-Message-ID: <20020411100604.6378.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-To: nobody@gcc.gnu.org Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, anthwil@nortelnetworks.com Received:(qmail 3196 invoked by uid 61); 11 Apr 2002 09:58:41 -0000 Message-Id:<20020411095841.3195.qmail@sources.redhat.com> Date: Thu, 11 Apr 2002 03:06:00 -0000 From: anthwil@nortelnetworks.com Reply-To: anthwil@nortelnetworks.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version:gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: c++/6252: ICE when accessing member template of explicit specialization of outer template X-SW-Source: 2002-04/txt/msg00603.txt.bz2 List-Id: >Number: 6252 >Category: c++ >Synopsis: ICE when accessing member template of explicit specialization of outer template >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Thu Apr 11 03:06:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Anthony Williams >Release: 3.0.3-sparc-solaris-2.7, also present in 2.95.3 (mingw) >Organization: >Environment: sparc-solaris-2.7 >Description: Given the attached source file, I get the following error: g++ -v -save-temps member_templates.cpp Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.3/specs Configured with: ../configure --with-as=/usr/local/bin/as --with-ld=/usr/local/b in/ld Thread model: posix gcc version 3.0.3 /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.3/cpp0 -lang-c++ -D__GNUG__=3 - D__GXX_DEPRECATED -D__EXCEPTIONS -D__GXX_ABI_VERSION=100 -v -D__GNUC__=3 -D__GNU C_MINOR__=0 -D__GNUC_PATCHLEVEL__=3 -Dsparc -Dsun -Dunix -D__svr4__ -D__SVR4 -D_ _sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -As ystem=unix -Asystem=svr4 -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D_XOPEN_SOURCE=500 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -D__EXTENSIONS__ -D__GCC_NEW_VARA RGS__ -Acpu=sparc -Amachine=sparc member_templates.cpp member_templates.ii GNU CPP version 3.0.3 (cpplib) (sparc) ignoring nonexistent directory "/usr/local/sparc-sun-solaris2.7/include" #include "..." search starts here: #include <...> search starts here: /usr/local/include/g++-v3 /usr/local/include/g++-v3/sparc-sun-solaris2.7 /usr/local/include/g++-v3/backward /usr/local/include /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.3/include /usr/include End of search list. /usr/local/lib/gcc-lib/sparc-sun-solaris2.7/3.0.3/cc1plus -fpreprocessed member _templates.ii -quiet -dumpbase member_templates.cpp -version -o member_templates .s GNU CPP version 3.0.3 (cpplib) (sparc) GNU C++ version 3.0.3 (sparc-sun-solaris2.7) compiled by GNU C version 3.0.2. member_templates.cpp: In instantiation of `Test': member_templates.cpp:34: instantiated from here member_templates.cpp:28: Internal compiler error in lookup_template_class, at cp/pt.c:3960 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. >How-To-Repeat: compile the attached source >Fix: >Release-Note: >Audit-Trail: >Unformatted: