This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r138433 - in /branches/gcc-4_3-branch: gcc/test...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 31 Jul 2008 19:15:09 -0000
- Subject: r138433 - in /branches/gcc-4_3-branch: gcc/test...
Author: jakub
Date: Thu Jul 31 19:15:08 2008
New Revision: 138433
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138433
Log:
PR preprocessor/36649
* files.c (struct report_missing_guard_data): New type.
(report_missing_guard): Put paths into an array instead of printing
them right away. Return 1 rather than 0.
(report_missing_guard_cmp): New function.
(_cpp_report_missing_guards): Sort and print paths gathered by
report_missing_guard callback.
* gcc.dg/pch/cpp-3.hs: Add include guards.
* gcc.dg/pch/cpp-3a.h: Likewise.
* gcc.dg/pch/cpp-3b.h: Likewise.
* gcc.dg/cpp/mi8.c: New test.
* gcc.dg/cpp/mi8a.h: New file.
* gcc.dg/cpp/mi8b.h: New file.
* gcc.dg/cpp/mi8c.h: New file.
* gcc.dg/cpp/mi8d.h: New file.
Added:
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/cpp/mi8.c
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/cpp/mi8a.h
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/cpp/mi8b.h
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/cpp/mi8c.h
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/cpp/mi8d.h
Modified:
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pch/cpp-3.hs
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pch/cpp-3a.h
branches/gcc-4_3-branch/gcc/testsuite/gcc.dg/pch/cpp-3b.h
branches/gcc-4_3-branch/libcpp/ChangeLog
branches/gcc-4_3-branch/libcpp/files.c