------- Comment #8 from jakub at gcc dot gnu dot org 2008-07-31 19:16 ------- Subject: Bug 36649
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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36649