This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

c++/6252: ICE when accessing member template of explicit specialization of outer template



>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<X, int>':
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 <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>How-To-Repeat:
compile the attached source
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]