[Bug target/101484] [12 Regression] trunk 20210717 ftbfs for amdgcn-amdhsa (gcn offload)
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jun 12 14:53:14 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101484
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Thomas Schwinge <tschwinge@gcc.gnu.org>:
https://gcc.gnu.org/g:9e2d90074db033be5544d97f03c7d80e5623af25
commit r17-1515-g9e2d90074db033be5544d97f03c7d80e5623af25
Author: Thomas Schwinge <tschwinge@baylibre.com>
Date: Thu Jun 11 21:41:10 2026 +0200
GCN: Implement 'TARGET_ADDR_SPACE_ZERO_ADDRESS_VALID' [PR101484]
This is the proper fix to replace
commit 9f2bc5077debef2b046b6c10d38591ac324ad8b5
"[gcn] Work-around libgomp 'error: array subscript 0 is outside array
bounds of â__lds struct gomp_thread * __lds[0]â [-Werror=array-bounds]'
[PR101484]",
commit 8168338684fc2bed576bb09202c63b3e9e678d92
"[gcn] Work-around libgomp 'error: array subscript 0 is outside array
bounds of â__lds struct gomp_thread * __lds[0]â [-Werror=array-bounds]'
some more [PR101484]".
PR target/101484
gcc/
* config/gcn/gcn.cc (TARGET_ADDR_SPACE_ZERO_ADDRESS_VALID):
Implement.
libgomp/
* configure.tgt [GCN] (XCFLAGS): Don't add
'-Wno-error=array-bounds'.
More information about the Gcc-bugs
mailing list