Commit 4b68f9ee by Uros Bizjak

re PR fortran/53449 (fortran fails to build with LTO bootstrap)

	* 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
parent 3d3949df
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> 2012-07-04 Oleg Endo <olegendo@gcc.gnu.org>
* config/sh/predicates.md (zero_extend_operand): New predicate. * config/sh/predicates.md (zero_extend_operand): New predicate.
......
...@@ -3138,8 +3138,8 @@ expand_mult (enum machine_mode mode, rtx op0, rtx op1, rtx target, ...@@ -3138,8 +3138,8 @@ expand_mult (enum machine_mode mode, rtx op0, rtx op1, rtx target,
if (INTEGRAL_MODE_P (mode)) if (INTEGRAL_MODE_P (mode))
{ {
rtx fake_reg; rtx fake_reg;
HOST_WIDE_INT coeff; HOST_WIDE_INT coeff = 0;
bool is_neg; bool is_neg = false;
int mode_bitsize; int mode_bitsize;
if (op1 == CONST0_RTX (mode)) if (op1 == CONST0_RTX (mode))
......
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> 2012-06-27 Janus Weil <janus@gcc.gnu.org>
PR fortran/41951 PR fortran/41951
......
...@@ -4512,6 +4512,7 @@ gfc_parse_file (void) ...@@ -4512,6 +4512,7 @@ gfc_parse_file (void)
gfc_global_ns_list = next = NULL; gfc_global_ns_list = next = NULL;
seen_program = 0; seen_program = 0;
errors_before = 0;
/* Exit early for empty files. */ /* Exit early for empty files. */
if (gfc_at_eof ()) if (gfc_at_eof ())
......
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> 2012-05-31 Steven Bosscher <steven@gcc.gnu.org>
* resource.c: Do not include output.h. * resource.c: Do not include output.h.
...@@ -658,7 +662,7 @@ ...@@ -658,7 +662,7 @@
(predefined_filenames): Declare. (predefined_filenames): Declare.
(add_predefined_file): Use it. (add_predefined_file): Use it.
(predefined_filename_p): Likewise. (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> 2010-05-25 Jakub Jelinek <jakub@redhat.com>
......
...@@ -202,9 +202,7 @@ read_zip_member (JCF *jcf, ZipDirectory *zipd, ZipFile *zipf) ...@@ -202,9 +202,7 @@ read_zip_member (JCF *jcf, ZipDirectory *zipd, ZipFile *zipf)
{ {
char *buffer; char *buffer;
z_stream d_stream; /* decompression stream */ z_stream d_stream; /* decompression stream */
d_stream.zalloc = (alloc_func) 0; memset (&d_stream, 0, sizeof (d_stream));
d_stream.zfree = (free_func) 0;
d_stream.opaque = (voidpf) 0;
jcf->buffer = XNEWVEC (unsigned char, zipd->uncompressed_size); jcf->buffer = XNEWVEC (unsigned char, zipd->uncompressed_size);
d_stream.next_out = jcf->buffer; d_stream.next_out = jcf->buffer;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment