[Bug preprocessor/28165] _Pragma GCC system_header broken
tromey at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Jan 4 15:33:00 GMT 2007
------- Comment #4 from tromey at gcc dot gnu dot org 2007-01-04 15:32 -------
Subject: Bug 28165
Author: tromey
Date: Thu Jan 4 15:32:26 2007
New Revision: 120441
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=120441
Log:
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.
Added:
trunk/gcc/testsuite/gcc.dg/cpp/pr28165.c
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libcpp/ChangeLog
trunk/libcpp/directives.c
trunk/libcpp/internal.h
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28165
More information about the Gcc-bugs
mailing list