Make sure that OMP builtins are available in offloading compilers.
commit752cfdfdd758616a0fee3071d33e4add83f34a51
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jan 2015 15:41:13 +0000 (8 15:41 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Jan 2015 15:41:13 +0000 (8 15:41 +0000)
tree534d8a2d3746af0c984f8502f409c0547d28f7a3
parentc049b358f961f72d0c0cf61a707e9a5855b12b28
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219346 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/builtins.def
gcc/config/i386/intelmic-mkoffload.c