2005-09-09 Richard Guenther <rguenther@suse.de>
PR c/20239
* cppinit.c (cpp_read_main_file): Avoid segfaulting on
NULL pfile->map.
From-SVN: r104096
+2005-09-09 Richard Guenther <rguenther@suse.de>
+
+ PR c/20239
+ * cppinit.c (cpp_read_main_file): Avoid segfaulting on
+ NULL pfile->map.
+
2005-09-09 Richard Guenther <rguenther@suse.de>
PR c++/23624
if (CPP_OPTION (pfile, preprocessed))
{
read_original_filename (pfile);
+ if (!pfile->map)
+ return NULL;
fname = pfile->map->to_file;
}
return fname;