public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "fxcoudert at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug libfortran/21787] flush I/O before calling abort() Date: Sat, 30 Jul 2005 21:46:00 -0000 [thread overview] Message-ID: <20050730211817.26621.qmail@sourceware.org> (raw) In-Reply-To: <20050527162050.21787.dir@lanl.gov> ------- Additional Comments From fxcoudert at gcc dot gnu dot org 2005-07-30 21:18 ------- For the bug noted in comments 5 and 6: [dranta:~/tests/gfortran] dir% gfortran -o callabort callabort.f [dranta:~/tests/gfortran] dir% callabort Abort [dranta:~/tests/gfortran] dir% cat callabort.f program test write(3,*)' error in program' call abort end [dranta:~/tests/gfortran] dir% cat fort.3 [dranta:~/tests/gfortran] dir% A fix is easy to design: calling close_units() before abort() in file intrinsics/abort.c does the trick (no time to submit a real patch now, just noting this in case I forget about it). -- What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |fxcoudert at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Keywords| |patch Last reconfirmed|2005-06-02 13:40:54 |2005-07-30 21:18:15 date| | Summary|libfortran - better error |flush I/O before calling |message needed |abort() http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21787
next prev parent reply other threads:[~2005-07-30 21:18 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-05-27 16:31 [Bug libfortran/21787] New: libfortran - better error message needed dir at lanl dot gov 2005-05-27 22:08 ` [Bug libfortran/21787] " fxcoudert at gcc dot gnu dot org 2005-05-28 0:05 ` pinskia at gcc dot gnu dot org 2005-05-31 13:08 ` dir at lanl dot gov 2005-06-01 12:48 ` fxcoudert at gcc dot gnu dot org 2005-06-01 12:49 ` fxcoudert at gcc dot gnu dot org 2005-06-02 13:31 ` dir at lanl dot gov 2005-06-02 13:40 ` fxcoudert at gcc dot gnu dot org 2005-06-02 14:50 ` dir at lanl dot gov 2005-07-30 21:46 ` fxcoudert at gcc dot gnu dot org [this message] 2005-07-31 7:45 ` [Bug libfortran/21787] flush I/O before calling abort() cvs-commit at gcc dot gnu dot org 2005-07-31 8:30 ` fxcoudert at gcc dot gnu dot org
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=20050730211817.26621.qmail@sourceware.org \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@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: linkBe 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).