aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/mode-switching.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/mode-switching.cc b/gcc/mode-switching.cc
index 2d2818f..64ae2bc 100644
--- a/gcc/mode-switching.cc
+++ b/gcc/mode-switching.cc
@@ -499,8 +499,8 @@ optimize_mode_switching (void)
bool need_commit = false;
static const int num_modes[] = NUM_MODES_FOR_MODE_SWITCHING;
#define N_ENTITIES ARRAY_SIZE (num_modes)
- int entity_map[N_ENTITIES];
- struct bb_info *bb_info[N_ENTITIES];
+ int entity_map[N_ENTITIES] = {};
+ struct bb_info *bb_info[N_ENTITIES] = {};
int i, j;
int n_entities = 0;
int max_num_modes = 0;