The error_mark_node is not an OpenMP mappable type.
commit9ec099a32922dfdf52e90d5dbfa11c09521e0b19
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Mar 2014 08:46:13 +0000 (7 08:46 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 7 Mar 2014 08:46:13 +0000 (7 08:46 +0000)
tree7d413f5734b66913e2660f80e881b95d7e0499ef
parent1329f16062bf0a3ba0d9db621073a8431256ed2a
The error_mark_node is not an OpenMP mappable type.

gcc/
* langhooks.c (lhd_omp_mappable_type): The error_mark_node is not
an OpenMP mappable type.
gcc/c/
* c-decl.c (c_decl_attributes): Use
lang_hooks.types.omp_mappable_type.
* c-typeck.c (c_finish_omp_clauses): Likewise.
gcc/testsuite/
* c-c++-common/gomp/map-1.c: Extend.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208394 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c/ChangeLog
gcc/c/c-decl.c
gcc/c/c-typeck.c
gcc/langhooks.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/gomp/map-1.c