[Bug c/14069] [3.3 Regression] This input file lets gcc crash
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Apr 1 16:20:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-04-01 16:20 -------
Subject: Bug 14069
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_3-branch
Changes by: jakub@gcc.gnu.org 2004-04-01 16:20:27
Modified files:
gcc : ChangeLog c-typeck.c c-decl.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.dg: 20040322-1.c
gcc/testsuite/gcc.dg/noncompile: init-4.c
Log message:
PR c/14069
* c-decl.c (finish_struct): Change type of incorrect flexible array
field into error_mark_node.
Backport from mainline:
2003-04-07 J"orn Rennecke <joern.rennecke@superh.com>
* c-typeck.c (output_init_element): Check for type == error_mark_node.
testsuite/
PR c/14069
* gcc.dg/20040322-1.c: New test.
Backport from mainline:
2003-04-07 J"orn Rennecke <joern.rennecke@superh.com>
* gcc.dg/noncompile/init-4.c: New test.
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.961&r2=1.16114.2.962
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.16&r2=1.213.2.17
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-decl.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.356.2.14&r2=1.356.2.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.2261.2.370&r2=1.2261.2.371
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/20040322-1.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.10.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/noncompile/init-4.c.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=NONE&r2=1.1.28.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14069
More information about the Gcc-bugs
mailing list