gcc/libgomp/testsuite
Jakub Jelinek 0b27c3eda9 re PR c++/86443 (ICEs on #pragma omp distribute parallel for with class iterators)
PR c++/86443
	* gimplify.c (find_combined_omp_for): Add DATA argument, in addition
	to finding the inner OMP_FOR/OMP_SIMD stmt find non-trivial wrappers,
	BLOCKs with BLOCK_VARs, OMP_PARALLEL in between, OMP_FOR in between.
	(gimplify_omp_for): For composite loops, move outer
	OMP_{DISTRIBUTE,TASKLOOP,FOR,PARALLEL} right around innermost
	OMP_FOR/OMP_SIMD if there are any non-trivial wrappers.  For class
	iterators add any needed clauses.  Allow OMP_FOR_ORIG_DECLS to contain
	TREE_LIST for both the original class iterator and the "last" helper
	var.  Gimplify OMP_FOR_PRE_BODY before the outermost composite
	loop, remember has_decl_expr from outer composite loops for the
	innermost OMP_SIMD in TREE_PRIVATE bit on OMP_FOR_INIT.
gcc/c-family/
	* c-omp.c (c_omp_check_loop_iv_r, c_omp_check_loop_iv): Allow declv
	to contain TREE_LIST for both the original class iterator and the
	"last" helper var.
gcc/cp/
	* semantics.c (handle_omp_for_class_iterator): Remove lastp argument,
	instead of setting *lastp turn orig_declv elt into a TREE_LIST.
	(finish_omp_for): Adjust handle_omp_for_class_iterator caller.
	* pt.c (tsubst_omp_for_iterator): Allow OMP_FOR_ORIG_DECLS to contain
	TREE_LIST for both the original class iterator and the "last" helper
	var.
libgomp/
	* testsuite/libgomp.c++/for-15.C: New test.

From-SVN: r262534
2018-07-10 09:12:37 +02:00
..
config Update copyright years. 2018-01-03 11:03:58 +01:00
lib [openacc, testsuite] Allow installed testing of libgomp to find gomp-constants.h 2018-05-07 11:33:45 +00:00
libgomp.c [libgomp, testsuite] Move tests to libgomp.c-c++-common 2018-05-02 17:53:43 +00:00
libgomp.c-c++-common [libgomp, testsuite] Move tests to libgomp.c-c++-common 2018-05-02 17:53:43 +00:00
libgomp.c++ re PR c++/86443 (ICEs on #pragma omp distribute parallel for with class iterators) 2018-07-10 09:12:37 +02:00
libgomp.fortran re PR fortran/85841 ([F2018] reject deleted features) 2018-05-21 22:48:59 +02:00
libgomp.graphite force-parallel-4.c: XFAIL one parallelizable loop. 2018-03-20 12:42:59 +00:00
libgomp.hsa.c [hsa] Fix PR82416 testcase 2018-02-08 14:06:26 +01:00
libgomp.oacc-c [testsuite] Add scan-offload-tree-dump 2018-05-03 13:47:14 +00:00
libgomp.oacc-c-c++-common Update OpenACC testcases 2018-06-22 12:04:14 +02:00
libgomp.oacc-c++ Update OpenACC testcases 2018-06-22 12:04:14 +02:00
libgomp.oacc-fortran Update OpenACC testcases 2018-06-22 12:04:14 +02:00
libgomp-test-support.exp.in
Makefile.am re PR other/79046 (g++ -print-file-name=plugin uses full version number in path) 2017-01-21 09:47:11 +01:00
Makefile.in Enable building libgomp with Intel CET 2017-11-17 22:22:09 +01:00