libcpp
commit927b511f7eac5563ce4fbbd32dee24e10ef52357
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Jan 2007 15:32:26 +0000 (4 15:32 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Jan 2007 15:32:26 +0000 (4 15:32 +0000)
treeb221eae7c64169c5383839dda76552523ac6432e
parentd272bed8bba6a66ff9c40f4287c13481c8c996cf
libcpp
PR preprocessor/28165:
* internal.h (cpp_in_primary_file): New function.
* directives.c (do_include_next): Use cpp_in_primary_file.
(do_pragma_once): Likewise.
(do_pragma_system_header): Likewise.
gcc/testsuite
PR preprocessor/28165:
* gcc.dg/cpp/pr28165.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120441 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/cpp/pr28165.c [new file with mode: 0644]
libcpp/ChangeLog
libcpp/directives.c
libcpp/internal.h