[gcn] Work-around libgomp 'error: array subscript 0 is outside array bounds of ‘__lds...
authorThomas Schwinge <thomas@codesourcery.com>
Fri, 16 Jul 2021 17:12:02 +0000 (19:12 +0200)
committerThomas Schwinge <thomas@codesourcery.com>
Mon, 19 Jul 2021 08:26:12 +0000 (10:26 +0200)
commit9f2bc5077debef2b046b6c10d38591ac324ad8b5
tree97ca95683939a273fa435ce8bee2587743399ad1
parent3d7686a30fcf0e44133f28673b722b5f57e430c5
[gcn] Work-around libgomp 'error: array subscript 0 is outside array bounds of ‘__lds struct gomp_thread * __lds[0]’ [-Werror=array-bounds]' [PR101484]

... seen as of commit a110855667782dac7b674d3e328b253b3b3c919b "Correct
handling of variable offset minus constant in -Warray-bounds [PR100137]".

Awaiting a different solution, of course.

libgomp/
PR target/101484
* config/gcn/team.c: Apply '-Werror=array-bounds' work-around.
* libgomp.h [__AMDGCN__]: Likewise.
libgomp/config/gcn/team.c
libgomp/libgomp.h