From: Martin Liska Date: Tue, 24 May 2022 11:30:00 +0000 (+0200) Subject: Revert "Mitigate -Wmaybe-uninitialized in expmed.cc." X-Git-Tag: basepoints/gcc-14~6477 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bd06c36f77d43e3c8fbc3ea5fbe982246100b069;p=thirdparty%2Fgcc.git Revert "Mitigate -Wmaybe-uninitialized in expmed.cc." This reverts commit c5c523723149112d117a6d3b259dfd95b032a545. --- diff --git a/gcc/expmed.cc b/gcc/expmed.cc index c890823b064..c3e4aa8019a 100644 --- a/gcc/expmed.cc +++ b/gcc/expmed.cc @@ -5658,7 +5658,7 @@ emit_store_flag_1 (rtx target, enum rtx_code code, rtx op0, rtx op1, /* If we are comparing a double-word integer with zero or -1, we can convert the comparison into one involving a single word. */ - scalar_int_mode int_mode = {}; + scalar_int_mode int_mode; if (is_int_mode (mode, &int_mode) && GET_MODE_BITSIZE (int_mode) == BITS_PER_WORD * 2 && (!MEM_P (op0) || ! MEM_VOLATILE_P (op0)))