public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-730] Revert "Mitigate -Wmaybe-uninitialized in expmed.cc."
@ 2022-05-24 11:31 Martin Liska
  0 siblings, 0 replies; only message in thread
From: Martin Liska @ 2022-05-24 11:31 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:bd06c36f77d43e3c8fbc3ea5fbe982246100b069

commit r13-730-gbd06c36f77d43e3c8fbc3ea5fbe982246100b069
Author: Martin Liska <mliska@suse.cz>
Date:   Tue May 24 13:30:00 2022 +0200

    Revert "Mitigate -Wmaybe-uninitialized in expmed.cc."
    
    This reverts commit c5c523723149112d117a6d3b259dfd95b032a545.

Diff:
---
 gcc/expmed.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)))


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-24 11:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24 11:31 [gcc r13-730] Revert "Mitigate -Wmaybe-uninitialized in expmed.cc." Martin Liska

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).