[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#593456: gcc-4.3: internal compiler error in gcc



Package: gcc-4.3
Version: 4.3.2-1.1
Severity: normal


When calling 
gcc error.cpp
with file
<BEGIN FILE error.cpp>
namespace { template <int T> struct A {}; }
template <int T> struct B { void f(A<T>); };
template struct B<1>;
template<int T> void B<T>::f(A<T>) {}
<END FILE>
the gcc compiler issues an internal compiler error
<BEGIN compiler output>
error.cpp: In instantiation of ‘void B<T>::f(<unnamed>::A<T>) [with int T = 1]’:
error.cpp:3:   instantiated from here
error.cpp:4: internal compiler error: in import_export_decl, at cp/decl2.c:2185
Please submit a full bug report,
with preprocessed source if appropriate.
<END compiler output>
..

Gabriel Schreiber

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gcc-4.3 depends on:
ii  binutils            2.18.1~cvs20080103-7 The GNU assembler, linker and bina
ii  cpp-4.3             4.3.2-1.1            The GNU C preprocessor
ii  gcc-4.3-base        4.3.2-1.1            The GNU Compiler Collection (base 
ii  libc6               2.7-18lenny4         GNU C Library: Shared libraries
ii  libgcc1             1:4.3.2-1.1          GCC support library
ii  libgomp1            4.3.2-1.1            GCC OpenMP (GOMP) support library

Versions of packages gcc-4.3 recommends:
ii  libc6-dev                   2.7-18lenny4 GNU C Library: Development Librari

Versions of packages gcc-4.3 suggests:
pn  gcc-4.3-doc                   <none>     (no description available)
pn  gcc-4.3-locales               <none>     (no description available)
pn  gcc-4.3-multilib              <none>     (no description available)
pn  libgcc1-dbg                   <none>     (no description available)
pn  libgomp1-dbg                  <none>     (no description available)
pn  libmudflap0-4.3-dev           <none>     (no description available)
pn  libmudflap0-dbg               <none>     (no description available)

-- no debconf information



Reply to: