From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22772 invoked by alias); 19 Feb 2005 10:49:46 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 22746 invoked by uid 48); 19 Feb 2005 10:49:41 -0000 Date: Sat, 19 Feb 2005 18:15:00 -0000 From: "reichelt at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org Message-ID: <20050219104940.20073.reichelt@gcc.gnu.org> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/20073] New: [4.0 regression] ICE initializing const array X-Bugzilla-Reason: CC X-SW-Source: 2005-02/txt/msg02231.txt.bz2 List-Id: The following valid code snippet causes an ICE when compiled with mainline: ============================== template struct A { A(); }; const A<0> x[] = { A<0>() }; ============================== bug.cc:7: internal compiler error: in set_mem_attributes_minus_bitpos, at emit-rtl.c:1539 Please submit a full bug report, [etc.] This is a relitively new regression (the compiler from 2005-02-16works fine). -- Summary: [4.0 regression] ICE initializing const array Product: gcc Version: 4.0.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20073