From 4b68f9ee5a9569a22522ab0b82d603e2ceacb35d Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Thu, 5 Jul 2012 09:22:17 +0200 Subject: 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 --- gcc/fortran/ChangeLog | 5 +++++ gcc/fortran/parse.c | 1 + 2 files changed, 6 insertions(+) (limited to 'gcc/fortran') 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 + + PR fortran/53449 + * parse.c (gfc_parse_file): Initialize errors_before. + 2012-06-27 Janus Weil 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 ()) -- cgit v1.1