From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12549 invoked by alias); 2 Jun 2003 12:15:12 -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 12338 invoked by uid 48); 2 Jun 2003 12:15:03 -0000 Date: Mon, 02 Jun 2003 12:15:00 -0000 From: "ElGringo@gmx.at" To: gcc-bugs@gcc.gnu.org Message-ID: <20030602121501.11063.ElGringo@gmx.at> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/11063] New: ICE on parsing initialization list of const array member X-Bugzilla-Reason: CC X-SW-Source: 2003-06/txt/msg00300.txt.bz2 List-Id: PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11063 Summary: ICE on parsing initialization list of const array member Product: gcc Version: 3.2.2 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: ElGringo@gmx.at CC: gcc-bugs@gcc.gnu.org Member: const int val[2]; Constructor: Foo::Foo (...) : val((int[]) {...}) results in: init.cpp: In constructor `Foo::Foo(int, int)': init.cpp:12: Internal compiler error in build_modify_expr, at cp/typeck.c:5516 works fine with Constructor: Foo::Foo (...) : foo((const int[]) {...}) (i don't understand why i need the casting, but syntax error without...) ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.