Revert "BUILD: Makefile: disable -Warray-bounds until it's fixed in gcc 11"
This reverts commit 5e8c35da1b93b64ec4892192aec3d61d73b3bbce. While the issue is being discussed with gcc folks, a reasonable workaround could be found for the tls_keys_ref list usage which doesn't significantly complicate the code. Since it was the only place triggering the warning and I don't feel very comfortable leaving this one disabled for too long, let's re-enable it right now. This definitely closes issue #1010.
This commit is contained in:
parent
b6fc524f05
commit
782e9be1b3
1
Makefile
1
Makefile
@ -195,7 +195,6 @@ SPEC_CFLAGS += $(call cc-nowarn,clobbered)
|
||||
SPEC_CFLAGS += $(call cc-nowarn,missing-field-initializers)
|
||||
SPEC_CFLAGS += $(call cc-nowarn,cast-function-type)
|
||||
SPEC_CFLAGS += $(call cc-nowarn,string-plus-int)
|
||||
SPEC_CFLAGS += $(call cc-nowarn,array-bounds)
|
||||
SPEC_CFLAGS += $(call cc-opt,-Wtype-limits)
|
||||
SPEC_CFLAGS += $(call cc-opt,-Wshift-negative-value)
|
||||
SPEC_CFLAGS += $(call cc-opt,-Wshift-overflow=2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user