mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-13 07:34:28 +08:00
re PR pch/68176 (all pch tests fail on eglibc systems (with bits/predefs.h))
PR pch/68176 * files.c (_cpp_find_file): Set file->implicit_preinclude even if included from file->implicit_preinclude header. From-SVN: r232956
This commit is contained in:
parent
aec0b19e79
commit
4bda59463f
@ -1,5 +1,9 @@
|
||||
2016-01-28 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
PR pch/68176
|
||||
* files.c (_cpp_find_file): Set file->implicit_preinclude even if
|
||||
included from file->implicit_preinclude header.
|
||||
|
||||
* directives.c (destringize_and_run): Adjust prototype.
|
||||
|
||||
2016-01-27 David Malcolm <dmalcolm@redhat.com>
|
||||
|
@ -522,7 +522,10 @@ _cpp_find_file (cpp_reader *pfile, const char *fname, cpp_dir *start_dir,
|
||||
return entry->u.file;
|
||||
|
||||
file = make_cpp_file (pfile, start_dir, fname);
|
||||
file->implicit_preinclude = implicit_preinclude;
|
||||
file->implicit_preinclude
|
||||
= (implicit_preinclude
|
||||
|| (pfile->buffer
|
||||
&& pfile->buffer->file->implicit_preinclude));
|
||||
|
||||
/* Try each path in the include chain. */
|
||||
for (; !fake ;)
|
||||
|
Loading…
Reference in New Issue
Block a user