From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10355 invoked by alias); 10 May 2010 15:30:37 -0000 Received: (qmail 10315 invoked by uid 48); 10 May 2010 15:30:25 -0000 Date: Mon, 10 May 2010 15:30:00 -0000 Message-ID: <20100510153025.10314.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/44045] initialization of array of shared_ptr's with initializer list causes compiler segfault In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jason at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-05/txt/msg00992.txt.bz2 ------- Comment #9 from jason at gcc dot gnu dot org 2010-05-10 15:30 ------- The testcase is invalid; 5.17 doesn't allow assignment to an array from an initializer list (although I'm not sure why not). But certainly we should give an error rather than crash. -- jason at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44045