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

Bug#246031: g++-3.3: [fixed in 3.4] very simple broken c++ code yields segfault

Package: g++-3.3
Version: 1:3.3.4-13
Followup-For: Bug #246031

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (101, 'unstable'), (100, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to de_DE)

Versions of packages g++-3.3 depends on:
ii  gcc-3.3                     1:3.3.4-13   The GNU C compiler
ii  gcc-3.3-base                1:3.3.4-13   The GNU Compiler Collection (base 
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  libstdc++5-3.3-dev          1:3.3.4-13   The GNU Standard C++ Library v3 (d

-- no debconf information

// some really stupid code that crashes g++

namespace t {
    struct dict {
        char *name; 
        int num; 

enum t::dict set_dict[] = {
        { "testa",    0},
        { "testb", 1},
        { NULL, 0}

// end of code

wrong_enum.cc:11: internal compiler error: Speicherzugriffsfehler
Please submit a full bug report,

Reply to: