summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/20030815-1.c
Commit message (Collapse)AuthorAgeFilesLines
* gcc/steven2005-02-011-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | PR c/19333 * c-decl.c (start_decl): Do not warn about arrays of elements with an incomplete type here. (grokdeclarator): Do it here by making a pedwarn an error. * c-typeck.c (push_init_level): If there were previous errors with the constructor type, do not warn about braces for initializers. (process_init_element): Likewise for excess initializer elements. testsuite/ PR c/19333 * testsuite/gcc.c-torture/compile/20011130-1.c: Reorder to make the test case valid. * testsuite/gcc.dg/20030815-1.c: Remove invalid tests. * testsuite/gcc.dg/array-7.c: Adjust expected result. * testsuite/gcc.dg/pr18596-3.c: Likewise. * testsuite/gcc.dg/noncompile/20000901-1.c: Likewise. * testsuite/gcc.dg/noncompile/init-2.c: Likewise. * testsuite/gcc.dg/noncompile/init-4.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94505 138bc75d-0d04-0410-961f-82ee72b054a4
* * c-decl.c (pushdecl): Only put decls which finish_struct will dojakub2003-08-231-0/+26
something about onto incomplete chain. (finish_struct): If not removing type from incomplete list, update prev. * gcc.dg/20030815-1.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70752 138bc75d-0d04-0410-961f-82ee72b054a4