]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/c/c-typeck.c
The error_mark_node is not an OpenMP mappable type.
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 7 Mar 2014 08:46:13 +0000 (09:46 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Fri, 7 Mar 2014 08:46:13 +0000 (09:46 +0100)
commitb17a8b072f2c577d42e5ea4a5ca7d5ff63ec0a41
tree7d413f5734b66913e2660f80e881b95d7e0499ef
parentc5604b48f91fa510171faf5a6e9d4138799186f1
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.

From-SVN: r208394
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