r202336 - in /branches/gomp-4_0-branch: gcc/Cha...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Sep 6 14:54:00 GMT 2013


Author: jakub
Date: Fri Sep  6 14:54:48 2013
New Revision: 202336

URL: http://gcc.gnu.org/viewcvs?rev=202336&root=gcc&view=rev
Log:
	* omp-low.c (scan_sharing_clauses): Handle VLAs in
	OMP_CLAUSE_{MAP,TO,FROM}.  Set DECL_ALIGN (field) before
	calling insert_field_into_struct.
	(scan_omp_target): Reverse TYPE_FIELDS, verify that
	all field alignments are the same.
	(lower_omp_target): Use maybe_lookup_field instead of
	lookup_sfield to check if field is present.  Handle VLAs.
	* tree-pretty-print.c (dump_omp_clause): Only check
	OMP_CLAUSE_MAP_KIND on OMP_CLAUSE_MAP clauses.
	* gimplify.c (enum gimplify_omp_var_data): Add GOVD_MAP_TO_ONLY.
	(omp_firstprivatize_variable, omp_add_variable,
	gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Handle
	VLAs in OMP_CLAUSE_{MAP,TO,FROM}.
libgomp/
	* testsuite/libgomp.c/target-2.c: New test.
	* testsuite/libgomp.c++/target-3.C: New test.

Added:
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.c++/target-3.C
    branches/gomp-4_0-branch/libgomp/testsuite/libgomp.c/target-2.c
Modified:
    branches/gomp-4_0-branch/gcc/ChangeLog.gomp
    branches/gomp-4_0-branch/gcc/gimplify.c
    branches/gomp-4_0-branch/gcc/omp-low.c
    branches/gomp-4_0-branch/gcc/tree-pretty-print.c
    branches/gomp-4_0-branch/libgomp/ChangeLog.gomp



More information about the Gcc-cvs mailing list