From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27767 invoked by alias); 22 Jan 2013 17:28:13 -0000 Received: (qmail 27645 invoked by uid 48); 22 Jan 2013 17:27:53 -0000 From: "stan at tomlinson dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/56078] New: causes cc1 to crash Date: Tue, 22 Jan 2013 17:28:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: stan at tomlinson dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 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: 2013-01/txt/msg02093.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56078 Bug #: 56078 Summary: causes cc1 to crash Classification: Unclassified Product: gcc Version: 4.6.3 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: stan@tomlinson.com tested with 4.6.3 and 3.3.2 possibly illegal syntax, but... --------------------------- #include struct Test { int number; char name[]; }; struct Test T1 = { .number = 'q', .name = "zabc", .name[0] = 'q' }; main () { printf( "%s:%c\n", T1.name, T1.number ); } -------------------- n.c:11:2: internal compiler error: Segmentation fault Please submit a full bug report...