From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1836 invoked by alias); 25 Sep 2007 14:54:22 -0000 Received: (qmail 1771 invoked by uid 48); 25 Sep 2007 14:54:05 -0000 Date: Tue, 25 Sep 2007 14:54:00 -0000 Message-ID: <20070925145405.1770.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/29727] [4.2/4.3 regression] ICE on invalid initializer for template member In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pcarlini at suse dot de" 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: 2007-09/txt/msg02081.txt.bz2 ------- Comment #4 from pcarlini at suse dot de 2007-09-25 14:54 ------- When fixing this bug we also want to make sure we do not reject this valid variant: template struct A { struct S { int X; }; static S a; }; template typename A::S A::a = { X : 1 }; void foo() { A<0>::a; } -- pcarlini at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pcarlini at suse dot de Keywords| |rejects-valid http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29727