public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Martin Liska <marxin@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/marxin/heads/casm-state-v2)] Fix it.
Date: Fri, 10 Sep 2021 09:29:37 +0000 (GMT)	[thread overview]
Message-ID: <20210910092937.9333C384A8A7@sourceware.org> (raw)

https://gcc.gnu.org/g:099ebfcd52dc95d9b84595b8d24fb75a94a2aebd

commit 099ebfcd52dc95d9b84595b8d24fb75a94a2aebd
Author: Martin Liska <mliska@suse.cz>
Date:   Thu Sep 9 14:55:47 2021 +0200

    Fix it.

Diff:
---
 gcc/toplev.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/toplev.c b/gcc/toplev.c
index 8d525e3a267..fcc7b39f624 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -2093,6 +2093,7 @@ finalize (bool no_backend)
 	fatal_error (input_location, "error writing to %s: %m", asm_file_name);
       if (fclose (casm->out_file) != 0)
 	fatal_error (input_location, "error closing %s: %m", asm_file_name);
+      casm->out_file = NULL;
     }
 
   if (stack_usage_file)


             reply	other threads:[~2021-09-10  9:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-10  9:29 Martin Liska [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-09-09 13:00 Martin Liska

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210910092937.9333C384A8A7@sourceware.org \
    --to=marxin@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).