Commit 3fa6bb2333 for openssl.org

commit 3fa6bb2333bf7d897f1dbca98f068cd7384ee563
Author: Milan Broz <gmazyland@gmail.com>
Date:   Thu Jan 22 12:07:42 2026 +0100

    Remove disabled-optimization warning again

    This warning does not play well in combination with sanitizers
    and its value is dubious. Instead of complicated decisions
    based on configuration flags just remove it from global list.

    Fixes: #29673

    Signed-off-by: Milan Broz <gmazyland@gmail.com>

    Reviewed-by: Norbert Pocs <norbertp@openssl.org>
    Reviewed-by: Paul Dale <paul.dale@oracle.com>
    Reviewed-by: Tomas Mraz <tomas@openssl.org>
    MergeDate: Fri Jan 23 14:00:29 2026
    (Merged from https://github.com/openssl/openssl/pull/29714)

diff --git a/Configure b/Configure
index a8bf855a1a..46c666529a 100755
--- a/Configure
+++ b/Configure
@@ -180,7 +180,6 @@ my @gcc_devteam_warn = qw(
     -Werror
     -Wmissing-prototypes
     -Wstrict-prototypes
-    -Wdisabled-optimization
     -Wpointer-arith
     -Wfloat-conversion
 );