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

            Bug ID: 58868
           Summary: ICE: in count_type_elements, at expr.c:5495 with
                    -std=gnu++0x
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ferdinandw+gcc at gmail dot com

/opt/gcc-trunk/libexec/gcc/x86_64-redhat-linux/4.9.0/cc1plus -quiet -v
TelemetryVFS.ii -O0 -g0 -std=gnu++0x -version -o TelemetryVFS.s

GNU C++ (GCC) version 4.9.0 20131025 (experimental) (x86_64-redhat-linux)
    compiled by GNU C version 4.9.0 20131025 (experimental), GMP version 5.1.1,
MPFR version 3.1.1, MPC version 1.0.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: e6bf66d0889337cd67d51ee6eb43d8c3
TelemetryVFS.ii:12:1: internal compiler error: in count_type_elements, at
expr.c:5495
 };
 ^


../gcc/configure --prefix=/opt/gcc-trunk --enable-shared
--enable-languages=c,c++ --enable-threads=posix --enable-checking
--enable-__cxa_atexit --enable-clocale=gnu --enable-initfini-array
--enable-gnu-unique-object --enable-linker-build-id
--with-linker-hash-style=gnu --disable-nls --disable-multilib
--with-system-zlib --build=x86_64-redhat-linux

====================================


enum ID {
  PLACES
};

struct Histograms {
  const ID foo;
};

Histograms gHistograms[] = {
  { PLACES }
};


====================================

Fairly recent, comes from building firefox aurora with gcc trunk

Reply via email to