On Friday 01 October 2010 16:39:35 jvdelisle at gcc dot gnu.org wrote: > 2010-10-01 14:39:23 UTC --- This look suspicious: valgrind on f951 > No, it is unrelated. It happens on the most simple testcases like: !!!! end !!!!
It can be circumvented by the following patch. But it is harmless (unreleased memory). --- a/cpp.c +++ b/cpp.c @@ -510,10 +510,11 @@ gfc_cpp_post_options (void) || gfc_cpp_option.dump_includes)) gfc_fatal_error("To enable preprocessing, use -cpp"); - cpp_in = cpp_create_reader (CLK_GNUC89, NULL, line_table); if (!gfc_cpp_enabled ()) return; + cpp_in = cpp_create_reader (CLK_GNUC89, NULL, line_table); + gcc_assert (cpp_in); /* The cpp_options-structure defines far more flags than those set here.