diff options
author | Martin Liska <mliska@suse.cz> | 2019-02-18 09:19:47 +0100 |
---|---|---|
committer | Martin Liska <marxin@gcc.gnu.org> | 2019-02-18 08:19:47 +0000 |
commit | e8cecccc2e5abb5d753291892968bf72533a7045 (patch) | |
tree | 29fdf5a07178e7c279d7b62f846b33075258733b /gcc/gcc.c | |
parent | d3cbcb233854574e23793c72a2af72d4d3bf94fe (diff) | |
download | gcc-e8cecccc2e5abb5d753291892968bf72533a7045.zip gcc-e8cecccc2e5abb5d753291892968bf72533a7045.tar.gz gcc-e8cecccc2e5abb5d753291892968bf72533a7045.tar.bz2 |
Support if statement in !GCC$ builtin directive.
2019-02-18 Martin Liska <mliska@suse.cz>
* config/i386/i386.c (ix86_get_multilib_abi_name): New function.
(TARGET_GET_MULTILIB_ABI_NAME): New macro defined.
* doc/tm.texi: Document new target hook.
* doc/tm.texi.in: Likewise.
* target.def: Add new target macro.
* gcc.c (find_fortran_preinclude_file): Do not search multilib
suffixes.
2019-02-18 Martin Liska <mliska@suse.cz>
* decl.c (gfc_match_gcc_builtin): Add support for filtering
of builtin directive based on multilib ABI name.
2019-02-18 Martin Liska <mliska@suse.cz>
* gfortran.dg/simd-builtins-7.f90: New test.
* gfortran.dg/simd-builtins-7.h: New test.
From-SVN: r268978
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -9965,24 +9965,24 @@ find_fortran_preinclude_file (int argc, const char **argv) /* Search first for 'finclude' folder location for a header file installed by the compiler (similar to omp_lib.h). */ - add_prefix (&prefixes, argv[2], NULL, 0, 0, false); + add_prefix (&prefixes, argv[2], NULL, 0, 0, 0); #ifdef TOOL_INCLUDE_DIR /* Then search: <prefix>/<target>/<include>/finclude */ add_prefix (&prefixes, TOOL_INCLUDE_DIR "/finclude/", - NULL, 0, 0, false); + NULL, 0, 0, 0); #endif #ifdef NATIVE_SYSTEM_HEADER_DIR /* Then search: <sysroot>/usr/include/finclude/<multilib> */ add_sysrooted_hdrs_prefix (&prefixes, NATIVE_SYSTEM_HEADER_DIR "/finclude/", - NULL, 0, 0, false); + NULL, 0, 0, 0); #endif - const char *path = find_a_file (&include_prefixes, argv[1], R_OK, true); + const char *path = find_a_file (&include_prefixes, argv[1], R_OK, false); if (path != NULL) result = concat (argv[0], path, NULL); else { - path = find_a_file (&prefixes, argv[1], R_OK, true); + path = find_a_file (&prefixes, argv[1], R_OK, false); if (path != NULL) result = concat (argv[0], path, NULL); } |