diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2011-05-31 16:24:08 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@gcc.gnu.org> | 2011-05-31 16:24:08 +0000 |
commit | 70efc82d54f11140c52c8c22ff542706b6e0e45b (patch) | |
tree | a71934085d596b28cbf080ba93cfa381d67b3755 | |
parent | 6ba5d85618299fb84acfa86c7d18af5bcdd0375b (diff) | |
download | gcc-70efc82d54f11140c52c8c22ff542706b6e0e45b.zip gcc-70efc82d54f11140c52c8c22ff542706b6e0e45b.tar.gz gcc-70efc82d54f11140c52c8c22ff542706b6e0e45b.tar.bz2 |
gengtype-state.c (read_state_params_structs): Initialize previous.
* gengtype-state.c (read_state_params_structs): Initialize
previous.
From-SVN: r174491
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/gengtype-state.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f4346fb..d7394ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2011-05-31 Alexandre Oliva <aoliva@redhat.com> + + * gengtype-state.c (read_state_params_structs): Initialize + previous. + 2011-05-31 Uros Bizjak <ubizjak@gmail.com> * config/i386/i386.md (*pushxf_nointeger): Merge alternatives 1 and 2. diff --git a/gcc/gengtype-state.c b/gcc/gengtype-state.c index e9aa5d2..a885d28 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); |