OSDN Git Service

gcc/cp
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Nov 2007 00:38:48 +0000 (00:38 +0000)
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 12 Nov 2007 00:38:48 +0000 (00:38 +0000)
commit67015c730c43858e8f3adac106439f2c59a5d518
tree3f463456ccd4e5d3927d4137b115dbd7bb507c51
parent40db0c7cfeb135c5c9e7727cb20d0cc066574a3f
gcc/cp
PR c++/17577:
* lex.c (handle_pragma_implementation): Use cpp_included_before.
gcc/testsuite
PR c++/17577:
* g++.dg/ext/pr17577.h: New file.
* g++.dg/ext/pr17577.C: New file.
libcpp
PR c++/17557:
* include/cpplib.h (cpp_included_before): Declare.
* files.c (struct file_hash_entry) <location>: New field.
(_cpp_find_file): Initialize new field.
(make_cpp_dir): Likewise.
(cpp_included_before): New function.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130093 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/lex.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/ext/pr17577.C [new file with mode: 0644]
gcc/testsuite/g++.dg/ext/pr17577.h [new file with mode: 0644]
libcpp/ChangeLog
libcpp/files.c
libcpp/include/cpplib.h