aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2020-04-20 15:25:31 +0100
committerAndrew Stubbs <ams@codesourcery.com>2020-04-23 15:05:23 +0100
commit966de09be91c639d66d252c9ae6ab8da5ebfca18 (patch)
treece0d4fc53f0913505e6212d3570deea88d854c81 /gcc
parent744b3e4478df83f54543964b8eb7250eb9bb6d40 (diff)
downloadgcc-966de09be91c639d66d252c9ae6ab8da5ebfca18.zip
gcc-966de09be91c639d66d252c9ae6ab8da5ebfca18.tar.gz
gcc-966de09be91c639d66d252c9ae6ab8da5ebfca18.tar.bz2
amdgcn: Check HSA return codes [PR94629]
Ensure that the returned status values are not ignored. The old code was not broken, but this is both safer and satisfies static analysis. 2020-04-23 Andrew Stubbs <ams@codesourcery.com> PR other/94629 libgomp/ * plugin/plugin-gcn.c (init_hsa_context): Check return value from hsa_iterate_agents. (GOMP_OFFLOAD_init_device): Check return values from both calls to hsa_agent_iterate_regions.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions