Extend locations where to seach for Fortran pre-include.
commit99b1b1fac08f2e62b6ef5486180a449396599ca9
authorMartin Liska <mliska@suse.cz>
Wed, 16 Jan 2019 09:38:21 +0000 (16 10:38 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 16 Jan 2019 09:38:21 +0000 (16 09:38 +0000)
tree27e1eeb13ffb1c747f0fe076af34c37e544f6cce
parent0684a81665555e219edafa6f46edfed7b9340b4e
Extend locations where to seach for Fortran pre-include.

2019-01-16  Martin Liska  <mliska@suse.cz>

* Makefile.in: Set TOOL_INCLUDE_DIR and NATIVE_SYSTEM_HEADER_DIR
for GCC driver.
* config/gnu-user.h (TARGET_F951_OPTIONS): Add 'finclude%s/' as
a new argument.
* gcc.c (add_sysrooted_hdrs_prefix): New function.
(path_prefix_reset): Move up in the source file.
(find_fortran_preinclude_file): Make complex search for the
fortran header files.

From-SVN: r267967
gcc/ChangeLog
gcc/Makefile.in
gcc/config/gnu-user.h
gcc/gcc.c