Commit 31962032 by Steve Ellcey Committed by Steve Ellcey

re PR pch/55399 (pch tests fail on mips-mti-linux-gnu target)

2012-11-21  Steve Ellcey  <sellcey@mips.com>

	PR pch/55399
	* files.c (pch_open_file): Fix check for implicit_preinclude.

From-SVN: r193709
parent 4c5ba8d0
2012-11-21 Steve Ellcey <sellcey@mips.com>
PR pch/55399
* files.c (pch_open_file): Fix check for implicit_preinclude.
2012-11-16 Simon Baldwin <simonb@google.com>
* include/cpplib.h (struct cpp_options): Add canonical_system_headers.
......
......@@ -295,7 +295,8 @@ pch_open_file (cpp_reader *pfile, _cpp_file *file, bool *invalid_pch)
file or the command-line it is not a valid use of PCH. */
if (pfile->all_files
&& pfile->all_files->next_file
&& !pfile->all_files->next_file->implicit_preinclude)
&& !(pfile->all_files->implicit_preinclude
|| pfile->all_files->next_file->implicit_preinclude))
return false;
flen = strlen (path);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment