From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9916 invoked by alias); 3 Oct 2002 19:26:01 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 9895 invoked by uid 71); 3 Oct 2002 19:26:01 -0000 Resent-Date: 3 Oct 2002 19:26:01 -0000 Resent-Message-ID: <20021003192601.9894.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, alvaro@rentec.com Resent-Reply-To: gcc-gnats@gcc.gnu.org, georgeh@rentec.com Received: (qmail 9571 invoked by uid 61); 3 Oct 2002 19:23:34 -0000 Message-Id: <20021003192334.9570.qmail@sources.redhat.com> Date: Thu, 03 Oct 2002 12:26:00 -0000 From: georgeh@rentec.com Reply-To: georgeh@rentec.com To: gcc-gnats@gcc.gnu.org Cc: alvaro@rentec.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: alvaro@rentec.com Subject: c++/8134: ICE in force_store_init_value on legal code X-SW-Source: 2002-10/txt/msg00128.txt.bz2 List-Id: >Number: 8134 >Category: c++ >Synopsis: ICE in force_store_init_value on legal code >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: ice-on-legal-code >Submitter-Id: net >Arrival-Date: Thu Oct 03 12:26:00 PDT 2002 >Closed-Date: >Last-Modified: >Originator: George Heintzelman (georgeh@rentec.com >Release: gcc 3.2 >Organization: >Environment: System: Linux monsterd01 2.4.18-rmap12h #1 SMP Mon May 13 14:01:21 EDT 2002 i686 unknown Architecture: i686 host: i686-pc-linux-gnu build: i686-pc-linux-gnu target: i686-pc-linux-gnu configured with: ../gcc-3.2/configure --disable-nls --enable-languages=c,c++,f77 --disable-libgcj --disable-shared --prefix=/usr/local/products/gcc/3.2 >Description: Compiling the following legal code, I get: /usr/local/products/gcc/3.2/bin/g++ -c gcc-ice-memptr.C gcc-ice-memptr.C:20: Internal compiler error in force_store_init_value, at cp/typeck2.c:443 gcc-ice-memptr.C: #include template class string2 { private: T default_value; std::list l; public: template string2(const T &_default_value, It begin, It end) { } }; class X { }; typedef int X::* field_type; int table[1] = {0}; string2 s2vh(0,table, table + 1); >How-To-Repeat: Repeated on Solaris 2.8 installation of g++ 3.2 as well. >Fix: >Release-Note: >Audit-Trail: >Unformatted: