From: Alexandre Oliva Date: Tue, 31 May 2011 16:24:08 +0000 (+0000) Subject: gengtype-state.c (read_state_params_structs): Initialize previous. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70efc82d54f11140c52c8c22ff542706b6e0e45b;p=gcc.git gengtype-state.c (read_state_params_structs): Initialize previous. * gengtype-state.c (read_state_params_structs): Initialize previous. From-SVN: r174491 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f4346fb7ba7..d7394abe494 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-05-31 Alexandre Oliva + + * gengtype-state.c (read_state_params_structs): Initialize + previous. + 2011-05-31 Uros Bizjak * config/i386/i386.md (*pushxf_nointeger): Merge alternatives 1 and 2. diff --git a/gcc/gengtype-state.c b/gcc/gengtype-state.c index e9aa5d2ed85..a885d28359e 100644 --- a/gcc/gengtype-state.c +++ b/gcc/gengtype-state.c @@ -2137,7 +2137,7 @@ read_state_param_structs (type_p *param_structs) int nbparamstructs = 0; int countparamstructs = 0; type_p head = NULL; - type_p previous; + type_p previous = NULL; type_p tmp; struct state_token_st *t0 = peek_state_token (0); struct state_token_st *t1 = peek_state_token (1);