aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgexpand.cc
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-02-25 17:01:34 +0100
committerTom de Vries <tdevries@suse.de>2022-02-28 10:10:51 +0100
commitf485b0ed7d06482d2f212ff0d9f5519a4f2c9a15 (patch)
tree77305e3227b132106230c391e37dc6e90ced5b2f /gcc/cfgexpand.cc
parent01cc75e3b647e6f961849e7c72dfc76d06361402 (diff)
downloadgcc-f485b0ed7d06482d2f212ff0d9f5519a4f2c9a15.zip
gcc-f485b0ed7d06482d2f212ff0d9f5519a4f2c9a15.tar.gz
gcc-f485b0ed7d06482d2f212ff0d9f5519a4f2c9a15.tar.bz2
[libgomp, testsuite, nvptx] Add -mptx=_ in declare-variant-3-sm*.c
When running with target board unix/-foffload=-mptx=3.1, we run into: ... lto1: error: PTX version (-mptx) needs to be at least 4.2 to support \ selected -misa (sm_53)^M mkoffload: fatal error: x86_64-pc-linux-gnu-accel-nvptx-none-gcc returned \ 1 exit status^M compilation terminated.^M ... FAIL: libgomp.c/declare-variant-3-sm53.c (test for excess errors) ... Fix this by adding -foffload=-mptx=_ in the libgomp.c/declare-variant-3-sm*.c test-cases. Tested on x86_64 with nvptx accelerator. libgomp/ChangeLog: 2022-02-28 Tom de Vries <tdevries@suse.de> * testsuite/libgomp.c/declare-variant-3-sm30.c: Add -foffload=-mptx=_. * testsuite/libgomp.c/declare-variant-3-sm35.c: Same. * testsuite/libgomp.c/declare-variant-3-sm53.c: Same. * testsuite/libgomp.c/declare-variant-3-sm70.c: Same. * testsuite/libgomp.c/declare-variant-3-sm75.c: Same. * testsuite/libgomp.c/declare-variant-3-sm80.c: Same.
Diffstat (limited to 'gcc/cfgexpand.cc')
0 files changed, 0 insertions, 0 deletions