]> git.ipfire.org Git - thirdparty/gcc.git/commit - libcpp/ChangeLog
re PR preprocessor/17610 (Empty #include statement halts gcc)
authorNathanael Nerode <neroden@gcc.gnu.org>
Sun, 28 Nov 2004 22:28:13 +0000 (22:28 +0000)
committerNathanael Nerode <neroden@gcc.gnu.org>
Sun, 28 Nov 2004 22:28:13 +0000 (22:28 +0000)
commit283038288ea4603511b9cc7088f2f1c38c9f3d54
tree3a3b8763ec8b9788a57d6ba82b14ac6cdaf9d403
parentb20e82291eef31ef415bb218c172519d59da16ac
re PR preprocessor/17610 (Empty #include statement halts gcc)

(libcpp)
PR preprocessor/17610
* directives.c (do_include_common): Error out if an empty filename
is given for #include (or #include_next or #import).

(gcc)
PR preprocessor/17610
* testsuite/gcc.dg/cpp/empty-include.c: New testcase.

From-SVN: r91428
gcc/ChangeLog
gcc/testsuite/gcc.dg/cpp/empty-include.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/directives.c