r226446 - in /branches/gomp-4_1-branch: gcc/Cha...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Fri Jul 31 16:12:00 GMT 2015
Author: jakub
Date: Fri Jul 31 16:12:04 2015
New Revision: 226446
URL: https://gcc.gnu.org/viewcvs?rev=226446&root=gcc&view=rev
Log:
* gimplify.c (gimplify_scan_omp_clauses): Handle
map clauses with COMPONENT_REF.
* omp-low.c (lower_omp_target): Handle GOMP_MAP_STRUCT.
Handle GOMP_MAP_RELEASE for zero-length array sections.
* tree-pretty-print.c (dump_omp_clause): Handle
GOMP_MAP_STRUCT.
gcc/c/
* c-parser.c (c_parser_omp_variable_list): Parse struct
elements in map/to/from clauses.
* c-typeck.c (handle_omp_array_sections): Handle
GOMP_MAP_RELEASE for zero-length array sections.
(c_finish_omp_clauses): Handle struct elements in
map/to/from OpenMP clauses.
gcc/cp/
* semantics.c (handle_omp_array_sections): Handle
GOMP_MAP_RELEASE for zero-length array sections.
include/
* gomp-constants.h (enum gomp_map_kind): Add GOMP_MAP_STRUCT.
libgomp/
* target.c (gomp_map_fields_existing): New function.
(gomp_map_vars): Handle GOMP_MAP_STRUCT.
* testsuite/libgomp.c/target-21.c: New test.
Added:
branches/gomp-4_1-branch/libgomp/testsuite/libgomp.c/target-21.c
Modified:
branches/gomp-4_1-branch/gcc/ChangeLog.gomp
branches/gomp-4_1-branch/gcc/c/ChangeLog.gomp
branches/gomp-4_1-branch/gcc/c/c-parser.c
branches/gomp-4_1-branch/gcc/c/c-typeck.c
branches/gomp-4_1-branch/gcc/cp/ChangeLog.gomp
branches/gomp-4_1-branch/gcc/cp/semantics.c
branches/gomp-4_1-branch/gcc/gimplify.c
branches/gomp-4_1-branch/gcc/omp-low.c
branches/gomp-4_1-branch/gcc/tree-pretty-print.c
branches/gomp-4_1-branch/include/ChangeLog.gomp
branches/gomp-4_1-branch/include/gomp-constants.h
branches/gomp-4_1-branch/libgomp/ChangeLog.gomp
branches/gomp-4_1-branch/libgomp/target.c
More information about the Gcc-cvs
mailing list