------- Comment #1 from rguenth at gcc dot gnu dot org 2006-04-23 15:47 ------- Confirmed. We hit
#1 0x080b0ffc in digest_init (type=<value optimized out>, init=0xb7da6ed0) at /space/rguenther/src/svn/gcc/gcc/cp/typeck2.c:788 788 gcc_assert (VEC_length (constructor_elt, v) <= len); Also happens on the 4.1 branch. 4.0.3 tells us y.c: In constructor 'Array<Entry>::Array() [with Entry = void*]': y.c:8: instantiated from here y.c:5: error: excess elements in aggregate initializer y.c:5: error: conversion from 'void** [1]' to non-scalar type 'void** [32]' requested -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |ice-on-invalid-code Known to fail| |4.1.0 4.2.0 Known to work| |4.0.3 Last reconfirmed|0000-00-00 00:00:00 |2006-04-23 15:47:41 date| | Summary|ICE in |[4.1/4.2 Regression]ICE in |process_init_constructor_arr|process_init_constructor_arr |ay, at cp/typeck2.c:788 |ay, at cp/typeck2.c:788 Target Milestone|--- |4.1.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27270