aboutsummaryrefslogtreecommitdiff
path: root/libgcc/libgcov-merge.c
diff options
context:
space:
mode:
authorFrederik Harwath <frederik@codesourcery.com>2020-01-20 14:07:03 +0100
committerFrederik Harwath <frederik@codesourcery.com>2020-01-24 09:14:51 +0100
commit4bd03ed69bd789278a0286017b692f49052ffe5c (patch)
tree97025ace807fa96ead5bd4f56ac46bd7a9f77a41 /libgcc/libgcov-merge.c
parent9adea9392bdaf9518d6f9cfce3ac0f247f3154d2 (diff)
downloadgcc-4bd03ed69bd789278a0286017b692f49052ffe5c.zip
gcc-4bd03ed69bd789278a0286017b692f49052ffe5c.tar.gz
gcc-4bd03ed69bd789278a0286017b692f49052ffe5c.tar.bz2
Fix expectation and types in acc_get_property tests
* Weaken expectation concerning acc_property_free_memory. Do not expect the value returned by CUDA since that value might have changed in the meantime. * Use correct type for the results of calls to acc_get_property in tests. libgomp/ * testsuite/libgomp.oacc-c-c++-common/acc_get_property-aux.c (expect_device_properties): Remove "expected_free_mem" argument, change "expected_total_mem" argument type to size_t; change types of acc_get_property results to size_t, adapt format strings. * testsuite/libgomp.oacc-c-c++-common/acc_get_property.c: Use %zu instead of %zd to print size_t values. * testsuite/libgomp.oacc-c-c++-common/acc_get_property-2.c: Adapt and rename to ... * testsuite/libgomp.oacc-c-c++-common/acc_get_property-nvptx.c: ... this. * testsuite/libgomp.oacc-c-c++-common/acc_get_property-3.c: Adapt and rename to ... * testsuite/libgomp.oacc-c-c++-common/acc_get_property-host.c: ... this. Reviewed-by: Thomas Schwinge <thomas@codesourcery.com>
Diffstat (limited to 'libgcc/libgcov-merge.c')
0 files changed, 0 insertions, 0 deletions