Support if statement in !GCC$ builtin directive.
authorMartin Liska <mliska@suse.cz>
Mon, 18 Feb 2019 08:19:47 +0000 (09:19 +0100)
committerMartin Liska <marxin@gcc.gnu.org>
Mon, 18 Feb 2019 08:19:47 +0000 (08:19 +0000)
commite8cecccc2e5abb5d753291892968bf72533a7045
tree29fdf5a07178e7c279d7b62f846b33075258733b
parentd3cbcb233854574e23793c72a2af72d4d3bf94fe
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
gcc/ChangeLog
gcc/config/i386/i386.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/gcc.c
gcc/target.def
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/simd-builtins-7.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/simd-builtins-7.h [new file with mode: 0644]