This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH don't segfault in cc1 if main file mssing [fixes preprocessor/12545]


I finally checked in this patch. It was delayed because I was getting mixed dejagnu results in the pch tests. I just did another bootstrap+tests and still got mixed results: 16 new failures plus 3 new time-outs, vs 23 new passes. However, the number of expected C passes jumped up from 24331 to 24355. I count this as a net win, so I checked the patch in. (To anyone who suggests I investigate the regressions: Sorry, not my department. Clearly there is some pch instability on this platform, which is Fedora Core 0.95.)

2003-10-31 Per Bothner <pbothner@apple.com>

	* c-opts.c (finish_options):  Change to returns boolean - false iff
	the call to cpp_find_main_file fails.
	(c_common_init):  Skip preprocess_file if finish_options failed.
	(c_common_parse_file):  Break if finish_options failed.
	Fixes PR preprocessor/12545.
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]