public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16623] New: [3.5] g++ ICE in tsubst_decl:6081
@ 2004-07-19  1:24 gcc-bugzilla at gcc dot gnu dot org
  2004-07-19  1:30 ` [Bug c++/16623] [3.5 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2004-07-19  1:24 UTC (permalink / raw)
  To: gcc-bugs



g++ mainline crashes on the example below:

$ g++  -c  x.cc
x.cc: In instantiation of `C<0>':
x.cc:13:   instantiated from here
x.cc:3: internal compiler error: in tsubst_decl, at cp/pt.c:6081
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
$

Environment:
System: Linux karma 2.6.7 #18 Wed Jul 14 03:27:01 EDT 2004 i686 i686 i386 GNU/Linux
Architecture: i686

	<machine, os, target, libraries (multiple lines)>
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /home/sss/gcc/gcc/configure --prefix=/usr/local/gcc --enable-threads=posix --enable-long-long --enable-languages=c,c++,f95

How-To-Repeat:

Compile the following:

----------------------------------------
template <int N>
struct C
{
  C& operator= (int);
};

template <int N>
C<N>& C<N>::operator= (int)
{
  return *this;
}

C<0> a;
----------------------------------------
------- Additional Comments From snyder at fnal dot gov  2004-07-19 01:24 -------
Fix:
	<how to correct or work around the problem, if known (multiple lines)>

-- 
           Summary: [3.5] g++ ICE in tsubst_decl:6081
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: snyder at fnal dot gov
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16623


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2004-07-20 15:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-19  1:24 [Bug c++/16623] New: [3.5] g++ ICE in tsubst_decl:6081 gcc-bugzilla at gcc dot gnu dot org
2004-07-19  1:30 ` [Bug c++/16623] [3.5 Regression] " pinskia at gcc dot gnu dot org
2004-07-19  4:08 ` mmitchel at gcc dot gnu dot org
2004-07-19 19:28 ` cvs-commit at gcc dot gnu dot org
2004-07-19 19:33 ` mmitchel at gcc dot gnu dot org
2004-07-20  2:46 ` cvs-commit at gcc dot gnu dot org
2004-07-20  3:38 ` pinskia at gcc dot gnu dot org
2004-07-20 15:36 ` cvs-commit at gcc dot gnu dot org
2004-07-20 15:37 ` mmitchel at gcc dot gnu dot org

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).