aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2019-01-11 11:46:06 +0000
committerTom de Vries <vries@gcc.gnu.org>2019-01-11 11:46:06 +0000
commit9390f91687a994c2ea28b3058b606f67d683a6ab (patch)
tree870864189a4a1126a65b0ce68f164a93f42fdfe6 /gcc
parent2c3e7ad20b797cd4fce7e21959b5f8e0f29bddc4 (diff)
downloadgcc-9390f91687a994c2ea28b3058b606f67d683a6ab.zip
gcc-9390f91687a994c2ea28b3058b606f67d683a6ab.tar.gz
gcc-9390f91687a994c2ea28b3058b606f67d683a6ab.tar.bz2
[libgomp, testsuite, openacc] Remove -foffload=-w in reduction-[1-5].c
Before the commit "[libgomp, testsuite, openacc] Don't use const int for dimensions", the "const int" construct was used to set launch dimensions in reductions-[1-5].c. In the case of -xc -O0, the const int is implemented as a variable by the C front-end. Consequently, the nvptx back-end generated warnings that vector_length was overridden to be hard-coded, rather than left to be set at runtime. The test-cases silenced these warnings by switching off all warnings in the accelerator compiler using "-foffload=-w". Given that no warnings occur anymore, remove the "-foffload=-w" setting. 2019-01-11 Tom de Vries <tdevries@suse.de> * testsuite/libgomp.oacc-c-c++-common/reduction-1.c: Remove -foffload=-w. * testsuite/libgomp.oacc-c-c++-common/reduction-2.c: Same. * testsuite/libgomp.oacc-c-c++-common/reduction-3.c: Same. * testsuite/libgomp.oacc-c-c++-common/reduction-4.c: Same. * testsuite/libgomp.oacc-c-c++-common/reduction-5.c: Same. From-SVN: r267836
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions