diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/expmed.c | 4 | ||||
-rw-r--r-- | gcc/fortran/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fortran/parse.c | 1 | ||||
-rw-r--r-- | gcc/java/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/java/jcf-io.c | 4 |
6 files changed, 18 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c1f8098..48015ae 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2012-07-04 Uros Bizjak <ubizjak@gmail.com> + + * expmed.c (expand_mult): Initialize coeff and is_neg. + 2012-07-04 Oleg Endo <olegendo@gcc.gnu.org> * config/sh/predicates.md (zero_extend_operand): New predicate. diff --git a/gcc/expmed.c b/gcc/expmed.c index 989f86c..cec8d23 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -3138,8 +3138,8 @@ expand_mult (enum machine_mode mode, rtx op0, rtx op1, rtx target, if (INTEGRAL_MODE_P (mode)) { rtx fake_reg; - HOST_WIDE_INT coeff; - bool is_neg; + HOST_WIDE_INT coeff = 0; + bool is_neg = false; int mode_bitsize; if (op1 == CONST0_RTX (mode)) diff --git a/gcc/fortran/ChangeLog b/gcc/fortran/ChangeLog index bbd0b50..2b04835 100644 --- a/gcc/fortran/ChangeLog +++ b/gcc/fortran/ChangeLog @@ -1,3 +1,8 @@ +2012-07-05 Uros Bizjak <ubizjak@gmail.com> + + PR fortran/53449 + * parse.c (gfc_parse_file): Initialize errors_before. + 2012-06-27 Janus Weil <janus@gcc.gnu.org> PR fortran/41951 diff --git a/gcc/fortran/parse.c b/gcc/fortran/parse.c index 4e7f691..54c6fc1 100644 --- a/gcc/fortran/parse.c +++ b/gcc/fortran/parse.c @@ -4512,6 +4512,7 @@ gfc_parse_file (void) gfc_global_ns_list = next = NULL; seen_program = 0; + errors_before = 0; /* Exit early for empty files. */ if (gfc_at_eof ()) diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index 6cece34..94edcdf 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,7 @@ +2012-07-05 Uros Bizjak <ubizjak@gmail.com> + + * jcf-io.c (read_zip_member): Initialize d_stream. + 2012-05-31 Steven Bosscher <steven@gcc.gnu.org> * resource.c: Do not include output.h. @@ -658,7 +662,7 @@ (predefined_filenames): Declare. (add_predefined_file): Use it. (predefined_filename_p): Likewise. - (java_parse_file): Adjust for new type of current_file_list. * + (java_parse_file): Adjust for new type of current_file_list. 2010-05-25 Jakub Jelinek <jakub@redhat.com> diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.c index c50ec49..0fe30b3 100644 --- a/gcc/java/jcf-io.c +++ b/gcc/java/jcf-io.c @@ -202,9 +202,7 @@ read_zip_member (JCF *jcf, ZipDirectory *zipd, ZipFile *zipf) { char *buffer; z_stream d_stream; /* decompression stream */ - d_stream.zalloc = (alloc_func) 0; - d_stream.zfree = (free_func) 0; - d_stream.opaque = (voidpf) 0; + memset (&d_stream, 0, sizeof (d_stream)); jcf->buffer = XNEWVEC (unsigned char, zipd->uncompressed_size); d_stream.next_out = jcf->buffer; |