OSDN Git Service

PR c/15749
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 May 2004 22:06:33 +0000 (22:06 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 31 May 2004 22:06:33 +0000 (22:06 +0000)
commit69f34ce251388a200334c15a465314948a0f7e91
tree10179230ae3065bb71c868f953b6d2060666594b
parentf94175587902c17989ad6545bcb27099c2ee1f5d
PR c/15749
* c-decl.c (grokdeclarator, finish_struct): Don't pedwarn for
misuses of structures with flexible array members if
in_system_header.

testsuite:
* gcc.dg/pr15749-1.c, gcc.dg/pr15749-1.h: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@82506 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr15749-1.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/pr15749-1.h [new file with mode: 0644]