diff options
author | Geoffrey Keating <geoffk@apple.com> | 2003-04-12 03:51:23 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2003-04-12 03:51:23 +0000 |
commit | 0aaafe734924677ec21c8bf7b80efff3717226ca (patch) | |
tree | 887e341a1b39e8b5afc0183f2f5eb0c88972bede | |
parent | d5b9108c1e2ea24b908203f3de8132ce0e20a256 (diff) | |
download | gcc-0aaafe734924677ec21c8bf7b80efff3717226ca.zip gcc-0aaafe734924677ec21c8bf7b80efff3717226ca.tar.gz gcc-0aaafe734924677ec21c8bf7b80efff3717226ca.tar.bz2 |
* profile.c (read_counts_file): Initialise 'checksum'.
From-SVN: r65502
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/profile.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2df891d..a1bcab9 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2003-04-11 Geoffrey Keating <geoffk@apple.com> + * profile.c (read_counts_file): Initialise 'checksum'. + * emit-rtl.c (gen_rtx): Really correct typo. PR c++/9393 diff --git a/gcc/profile.c b/gcc/profile.c index 07f7a72..5cbdd00 100644 --- a/gcc/profile.c +++ b/gcc/profile.c @@ -274,7 +274,7 @@ static void read_counts_file (const char *name) { char *function_name_buffer = NULL; - unsigned version, ix, checksum; + unsigned version, ix, checksum = -1; counts_entry_t *summaried = NULL; unsigned seen_summary = 0; |