Make sure that OMP builtins are available in offloading compilers.
authorThomas Schwinge <thomas@codesourcery.com>
Thu, 8 Jan 2015 15:41:13 +0000 (16:41 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Thu, 8 Jan 2015 15:41:13 +0000 (16:41 +0100)
commit45f46750a3513790573791c0eec6b600b42f2042
tree534d8a2d3746af0c984f8502f409c0547d28f7a3
parent4f929d9da16fca9bcde0d1077c15136e944c5c0d
Make sure that OMP builtins are available in offloading compilers.

gcc/
* builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
for registering builtins.
* config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
add -fopenmp to the argv_obstack used when invoking
compile_for_target.

From-SVN: r219346
gcc/ChangeLog
gcc/builtins.def
gcc/config/i386/intelmic-mkoffload.c