public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/27270] [4.1/4.2 Regression]ICE in process_init_constructor_array, at cp/typeck2.c:788
Date: Sun, 23 Apr 2006 15:47:00 -0000	[thread overview]
Message-ID: <20060423154741.3574.qmail@sourceware.org> (raw)
In-Reply-To: <bug-27270-12577@http.gcc.gnu.org/bugzilla/>



------- 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


  reply	other threads:[~2006-04-23 15:47 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-23 14:49 [Bug c++/27270] New: ICE " timj at gtk dot org
2006-04-23 15:47 ` rguenth at gcc dot gnu dot org [this message]
2006-05-14 22:29 ` [Bug c++/27270] [4.1/4.2 Regression]ICE " mmitchel at gcc dot gnu dot org
2006-05-25  2:40 ` mmitchel at gcc dot gnu dot org
2006-08-12 21:36 ` janis at gcc dot gnu dot org
2006-10-16 23:34 ` [Bug c++/27270] [4.1/4.2 Regression] ICE " mmitchel at gcc dot gnu dot org
2006-10-17  2:01 ` mmitchel at gcc dot gnu dot org
2006-10-17  2:05 ` [Bug c++/27270] [4.1 " mmitchel at gcc dot gnu dot org
2006-10-17 17:30 ` shinwell at gcc dot gnu dot org
2006-10-17 22:26 ` mmitchel at gcc dot gnu dot org
2007-02-14  9:12 ` mmitchel at gcc dot gnu dot org
2008-07-04 15:29 ` jsm28 at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060423154741.3574.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).