Commit b72ee09a45 for openssl.org
commit b72ee09a45109faec2e46865d9ef648525ccec78
Author: Bob Beck <beck@openssl.org>
Date: Thu Jun 18 11:28:28 2026 -0600
Drop missed unneded GNUC>=2 check
Spotted by idrassi on review. thanks!
Reviewed-by: Milan Broz <mbroz@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
Reviewed-by: Neil Horman <nhorman@openssl.org>
MergeDate: Fri Jul 10 11:47:21 2026
(Merged from https://github.com/openssl/openssl/pull/31677)
diff --git a/include/crypto/md32_common.inc b/include/crypto/md32_common.inc
index 06293681b4..3dea481c56 100644
--- a/include/crypto/md32_common.inc
+++ b/include/crypto/md32_common.inc
@@ -104,7 +104,7 @@
#define ROTATE(a, n) (((a) << (n)) | (((a) & 0xffffffff) >> (32 - (n))))
#ifndef PEDANTIC
-#if defined(__GNUC__) && __GNUC__ >= 2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM)
+#if defined(__GNUC__) && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM)
#if defined(__riscv_zbb) || defined(__riscv_zbkb)
#if __riscv_xlen == 64
#undef ROTATE