public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: anthwil@nortelnetworks.com
To: gcc-gnats@gcc.gnu.org
Subject: c++/6252: ICE when accessing member template of explicit specialization of outer template
Date: Thu, 11 Apr 2002 03:06:00 -0000	[thread overview]
Message-ID: <20020411095841.3195.qmail@sources.redhat.com> (raw)


>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:


             reply	other threads:[~2002-04-11 10:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-11  3:06 anthwil [this message]
2002-06-05  9:03 lerdsuwa
2002-06-10  6:19 lerdsuwa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020411095841.3195.qmail@sources.redhat.com \
    --to=anthwil@nortelnetworks.com \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).