From 70efc82d54f11140c52c8c22ff542706b6e0e45b Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 31 May 2011 16:24:08 +0000 Subject: [PATCH] gengtype-state.c (read_state_params_structs): Initialize previous. * gengtype-state.c (read_state_params_structs): Initialize previous. From-SVN: r174491 --- gcc/ChangeLog | 5 +++++ gcc/gengtype-state.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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); -- 2.30.2