aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2022-05-24 13:30:00 +0200
committerMartin Liska <mliska@suse.cz>2022-05-24 13:30:00 +0200
commitbd06c36f77d43e3c8fbc3ea5fbe982246100b069 (patch)
tree9fb159aaef3f701b8f0466ff9af26f87bc4c4593 /gcc
parentc5c523723149112d117a6d3b259dfd95b032a545 (diff)
downloadgcc-bd06c36f77d43e3c8fbc3ea5fbe982246100b069.zip
gcc-bd06c36f77d43e3c8fbc3ea5fbe982246100b069.tar.gz
gcc-bd06c36f77d43e3c8fbc3ea5fbe982246100b069.tar.bz2
Revert "Mitigate -Wmaybe-uninitialized in expmed.cc."
This reverts commit c5c523723149112d117a6d3b259dfd95b032a545.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/expmed.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/expmed.cc b/gcc/expmed.cc
index c890823..c3e4aa8 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)))