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

Bug#446698: (no subject)



Subject: g++-4.2: ICE in import_export_decl, at cp/decl2.c:1962
Package: g++-4.2
Version: 4.2.2-2
Severity: minor

*** Please type your report below this line ***
The following (invalid) code fragment generates an ICE:

#include <string>
#include <map>

template<typename T>
class A
{
        static std::map<std::string, A *> b;
};

template<typename T> std::map<std::string,A<int> *> A<int>::b;


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages g++-4.2 depends on:
ii  gcc-4.2                       4.2.2-2    The GNU C compiler
ii  gcc-4.2-base                  4.2.2-2    The GNU Compiler Collection (base 
ii  libc6                         2.6.1-5    GNU C Library: Shared libraries
ii  libstdc++6-4.2-dev            4.2.2-2    The GNU Standard C++ Library v3 (d

g++-4.2 recommends no packages.

-- no debconf information




Reply to: