[Bug preprocessor/17610] [3.4 Regression] Empty #include statement halts gcc
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 2 02:33:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-02 02:32 -------
Subject: Bug 17610
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: neroden@gcc.gnu.org 2004-12-02 02:32:22
Modified files:
gcc : ChangeLog c-opts.c c-ppoutput.c cpplib.c
Added files:
gcc/testsuite/gcc.dg/cpp: empty-include.c
Log message:
2004-12-01 Nathanael Nerode <neroden@gcc.gnu.org>
PR preprocessor/17651
* c-opts.c (sanitize_cpp_opts): Make flag_no_output imply
flag_no_line_commands.
* c-ppoutput.c (pp_file_change): Remove now-redundant check of
flag_no_output.
PR preprocessor/17610
* directives.c (do_include_common): Error out if an empty filename
is given for #include (or #include_next or #import).
PR preprocessor/17610
* testsuite/gcc.dg/cpp/empty-include.c: New testcase.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.713&r2=2.2326.2.714
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-opts.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.96.4.8&r2=1.96.4.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-ppoutput.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.11.12.3&r2=1.11.12.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cpplib.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.355.4.2&r2=1.355.4.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.dg/cpp/empty-include.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=NONE&r2=1.1.4.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17610
More information about the Gcc-bugs
mailing list