This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/11527] [3.3/3.4 Regression] If an array "designated intializer" in a struct causes a segv.
- From: "cvs-commit at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Mar 2004 23:04:44 -0000
- Subject: [Bug c/11527] [3.3/3.4 Regression] If an array "designated intializer" in a struct causes a segv.
- References: <20030715172528.11527.eamon@sonyoxford.co.uk>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-03-26 23:04 -------
Subject: Bug 11527
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: rth@gcc.gnu.org 2004-03-26 23:04:40
Modified files:
gcc : ChangeLog c-typeck.c
Added files:
gcc/testsuite/gcc.dg: gnu89-init-3.c
Log message:
PR 11527
* c-typeck.c (pop_init_level): Emit pending init elements earlier
rather than later.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.371&r2=2.2326.2.372
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.272.2.5&r2=1.272.2.6
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/gnu89-init-3.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11527