ci/fedora: add workaround for buggy GCC warning triggered by r600
In function 'r600_init_resource_fields', inlined from 'r600_buffer_create' at ../src/gallium/drivers/r600/r600_buffer_common.c:561:2: ../src/gallium/drivers/r600/r600_buffer_common.c:121:48: error: array subscript 'struct r600_texture[0]' is partly outside array bounds of 'unsigned char[256]' [-Werror=array-bounds=] 121 | if ((res->b.b.target != PIPE_BUFFER && !rtex->surface.is_linear) || | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/util/os_memory.h:37 Signed-off-by: David Heidelberg <david@ixit.cz> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31790>
This commit is contained in:

committed by
Marge Bot

parent
c23f7a2562
commit
72b5e4045b
@@ -334,9 +334,11 @@ fedora-release:
|
||||
- !reference [.build-for-tests-jobs]
|
||||
variables:
|
||||
BUILDTYPE: "release"
|
||||
# array-bounds are pure non-LTO gcc buggy warning, verify after bump to F39
|
||||
C_ARGS: >
|
||||
-Wno-error=stringop-overflow
|
||||
-Wno-error=stringop-overread
|
||||
-Wno-error=array-bounds
|
||||
CPP_ARGS: >
|
||||
-Wno-error=dangling-reference
|
||||
-Wno-error=overloaded-virtual
|
||||
|
Reference in New Issue
Block a user