From be5698ec60d20a48145258f93808cadeb024565d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=BCtzel?= Date: Tue, 9 Jan 2024 12:17:55 +0100 Subject: [PATCH] SPEX: Remove pragma that silenced a GCC warning --- SPEX/SPEX_Utilities/Source/SPEX_matrix_allocate.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/SPEX/SPEX_Utilities/Source/SPEX_matrix_allocate.c b/SPEX/SPEX_Utilities/Source/SPEX_matrix_allocate.c index 9c06edf04..d149b6320 100644 --- a/SPEX/SPEX_Utilities/Source/SPEX_matrix_allocate.c +++ b/SPEX/SPEX_Utilities/Source/SPEX_matrix_allocate.c @@ -29,15 +29,6 @@ #include "spex_util_internal.h" -#if defined (__GNUC__) - #if ( __GNUC__ == 11) - // gcc 11 has a bug that triggers a spurious warning for the call - // to SPEX_MPQ_INIT (A->scale), from -Wstringop-overflow. see - // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101854 - #pragma GCC diagnostic ignored "-Wstringop-overflow" - #endif -#endif - SPEX_info SPEX_matrix_allocate ( SPEX_matrix *A_handle, // matrix to allocate