re PR fortran/53449 (fortran fails to build with LTO bootstrap)
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 5 Jul 2012 07:22:17 +0000 (09:22 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 5 Jul 2012 07:22:17 +0000 (09:22 +0200)
* expmed.c (expand_mult): Initialize coeff and is_neg.

java/ChangeLog:

* jcf-io.c (read_zip_member): Initialize d_stream.

fortran/ChangLog:

PR fortran/53449
* parse.c (gfc_parse_file): Initialize errors_before.

From-SVN: r189281

gcc/ChangeLog
gcc/expmed.c
gcc/fortran/ChangeLog
gcc/fortran/parse.c
gcc/java/ChangeLog
gcc/java/jcf-io.c

index c1f8098..48015ae 100644 (file)
@@ -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.
index 989f86c..cec8d23 100644 (file)
@@ -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))
index bbd0b50..2b04835 100644 (file)
@@ -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
index 4e7f691..54c6fc1 100644 (file)
@@ -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 ())
index 6cece34..94edcdf 100644 (file)
@@ -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.
        (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>
 
index c50ec49..0fe30b3 100644 (file)
@@ -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;