mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-22 12:00:35 -04:00
Test with GCC 15 with sloppy union initialization
This is a non-regression test for https://github.com/Mbed-TLS/mbedtls/issues/9814 Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
0e4907d4f5
commit
f4ebf807e6
@ -94,10 +94,7 @@ component_test_gcc15_drivers_opt () {
|
||||
loc_cflags="$ASAN_CFLAGS -DPSA_CRYPTO_DRIVER_TEST_ALL"
|
||||
loc_cflags="${loc_cflags} '-DMBEDTLS_USER_CONFIG_FILE=\"../tests/configs/user-config-for-test.h\"'"
|
||||
loc_cflags="${loc_cflags} -I../framework/tests/include -O2"
|
||||
# Until https://github.com/Mbed-TLS/mbedtls/issues/9814 is fixed,
|
||||
# disable the new problematic optimization.
|
||||
loc_cflags="${loc_cflags} -fzero-init-padding-bits=unions"
|
||||
# Also allow a warning that we don't yet comply to.
|
||||
# Allow a warning that we don't yet comply to.
|
||||
# https://github.com/Mbed-TLS/mbedtls/issues/9944
|
||||
loc_cflags="${loc_cflags} -Wno-error=unterminated-string-initialization"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user