http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60400
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Author: jakub Date: Thu Mar 6 07:53:17 2014 New Revision: 208362 URL: http://gcc.gnu.org/viewcvs?rev=208362&root=gcc&view=rev Log: PR preprocessor/60400 Backport from mainline 2013-06-24 Dehao Chen <de...@google.com> * files.c (_cpp_stack_include): Fix the highest_location when header file is guarded by #ifndef and is included twice. 2014-03-03 Jakub Jelinek <ja...@redhat.com> PR preprocessor/60400 * c-c++-common/cpp/pr60400.c: New test. * c-c++-common/cpp/pr60400-1.h: New file. * c-c++-common/cpp/pr60400-2.h: New file. Added: branches/gcc-4_8-branch/gcc/testsuite/c-c++-common/cpp/pr60400-1.h branches/gcc-4_8-branch/gcc/testsuite/c-c++-common/cpp/pr60400-2.h branches/gcc-4_8-branch/gcc/testsuite/c-c++-common/cpp/pr60400.c Modified: branches/gcc-4_8-branch/gcc/testsuite/ChangeLog branches/gcc-4_8-branch/libcpp/ChangeLog branches/gcc-4_8-branch/libcpp/files.c