gcc/libgomp/testsuite
Tom de Vries 5d0bc70ae4 [libgomp, testsuite, openacc] Don't use const int for dimensions
Const int is handled differently at -O0 for -xc and -xc++, which can cause noise
in testsuite/libgomp.oacc-c-c++-common test-cases (which are both run for c and
c++) if const int is used for launch dimensions.

Fix this by using #defines instead.

2019-01-09  Tom de Vries  <tdevries@suse.de>

	PR target/88756
	* testsuite/libgomp.oacc-c-c++-common/reduction-1.c (ng, nw, vl): Use
	#define instead of "const int".
	* testsuite/libgomp.oacc-c-c++-common/reduction-2.c (ng, nw, vl): Same.
	* testsuite/libgomp.oacc-c-c++-common/reduction-3.c (ng, nw, vl): Same.
	* testsuite/libgomp.oacc-c-c++-common/reduction-4.c (ng, nw, vl): Same.
	* testsuite/libgomp.oacc-c-c++-common/reduction-5.c (ng, nw, vl): Same.

From-SVN: r267747
2019-01-09 00:07:55 +00:00
..
config Update copyright years. 2019-01-01 13:31:55 +01:00
lib [nvptx, libgomp] Move rtl-dump test-cases to libgomp 2018-12-19 14:20:44 +00:00
libgomp.c Update copyright years. 2019-01-01 13:31:55 +01:00
libgomp.c++ re PR libgomp/88460 ([nvptx] FAIL: libgomp.c++/for-24.C (internal compiler error)) 2018-12-13 13:53:19 +01:00
libgomp.c-c++-common [offloading] Error on missing symbols 2018-12-14 13:48:56 +00:00
libgomp.fortran aligned1.f03: Fix invalid code that now causes an error after r267415. 2018-12-27 20:57:12 +00:00
libgomp.graphite Update copyright years. 2019-01-01 13:31:55 +01: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++ [OpenACC] Support C++ "this" in OpenACC directives 2018-10-29 14:31:20 +00:00
libgomp.oacc-c-c++-common [libgomp, testsuite, openacc] Don't use const int for dimensions 2019-01-09 00:07:55 +00:00
libgomp.oacc-fortran Missing changes from "Adjust copy/copyin/copyout/create for OpenACC 2.5" 2018-12-14 21:43:12 +01:00
Makefile.am Makefile.am (AUTOMAKE_OPTIONS): Drop dejagnu. 2018-11-26 22:03:41 +01:00
Makefile.in Makefile.am (AUTOMAKE_OPTIONS): Drop dejagnu. 2018-11-26 22:03:41 +01:00
libgomp-test-support.exp.in Remove build dependence on HSA run-time 2016-11-23 13:27:13 +01:00