OSDN Git Service

gcc/:
authorrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Feb 2008 22:41:16 +0000 (22:41 +0000)
committerrwild <rwild@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Feb 2008 22:41:16 +0000 (22:41 +0000)
commit784c0df457f8bf2478cea7326cd54371de81da91
treeba260f2caf92b3ea1da029e11ec95332835476cb
parent187a3ad695a391a74077b36d6e9558c7fcba4d87
gcc/:
PR c/28800
* c-parser.c (c_parser_translation_unit): Warn for empty
translation unit, not empty source file.

gcc/testsuite/:
PR c/28800
* gcc.dg/empty-source-2.c: Adjust for warning message.
* gcc.dg/empty-source-3.c: Likewise.
* gcc.dg/pack-test-2.c: Adjust comment.
* gcc.dg/pragma-ep-2.c: Likewise.
* gcc.dg/pragma-re-2.c: Likewise.
* gcc.dg/va-arg-2.c: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132690 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/empty-source-2.c
gcc/testsuite/gcc.dg/empty-source-3.c
gcc/testsuite/gcc.dg/pack-test-2.c
gcc/testsuite/gcc.dg/pragma-ep-2.c
gcc/testsuite/gcc.dg/pragma-re-2.c
gcc/testsuite/gcc.dg/va-arg-2.c