]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Revert "Mitigate -Wmaybe-uninitialized in expmed.cc."
authorMartin Liska <mliska@suse.cz>
Tue, 24 May 2022 11:30:00 +0000 (13:30 +0200)
committerMartin Liska <mliska@suse.cz>
Tue, 24 May 2022 11:30:00 +0000 (13:30 +0200)
This reverts commit c5c523723149112d117a6d3b259dfd95b032a545.

gcc/expmed.cc

index c890823b064bfb6bf6036f916054e07562a75a76..c3e4aa8019a69431641f8b1097e32e9d28892039 100644 (file)
@@ -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)))