[Bug c/11527] [3.3/3.4 Regression] If an array "designated intializer" in a struct causes a segv.

cvs-commit at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Mar 26 22:37:00 GMT 2004


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-03-26 22:37 -------
Subject: Bug 11527

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	rth@gcc.gnu.org	2004-03-26 22:37:18

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_3-branch&r1=1.16114.2.954&r2=1.16114.2.955
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-typeck.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.213.2.14&r2=1.213.2.15
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_3-branch&r1=NONE&r2=1.1.2.1



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11527



More information about the Gcc-bugs mailing list