public inbox for gcc-prs@sourceware.org help / color / mirror / Atom feed
From: "Tim Prince" <tprince@computer.org> To: toon@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, Subject: Re: libf2c/4931: Code hangs while computing log of specific complex number Date: Mon, 19 Nov 2001 08:26:00 -0000 [thread overview] Message-ID: <20011123043602.29774.qmail@sourceware.cygnus.com> (raw) The following reply was made to PR libf2c/4931; it has been noted by GNATS. From: "Tim Prince" <tprince@computer.org> To: <toon@moene.indiv.nluug.nl>, <gcc-gnats@gcc.gnu.org> Cc: "Stefano Simonucci" <stefano.simonucci@tin.it> Subject: Re: libf2c/4931: Code hangs while computing log of specific complex number Date: Thu, 22 Nov 2001 20:22:22 -0800 Running this with g77-3.1 under gdb on cygwin, it's hanging in the final do{..}while(s>s0) in z_log(). Attempting to display the values of local variables crashes gdb. If this awkward looking code is to be preserved, it looks like the loop ending condition needs to change to something like while(s > s0 +DBL_EPSILON). ----- Original Message ----- From: <toon@moene.indiv.nluug.nl> To: <gcc-gnats@gcc.gnu.org> Cc: "Stefano Simonucci" <stefano.simonucci@tin.it> Sent: Thursday, November 22, 2001 2:14 PM Subject: libf2c/4931: Code hangs while computing log of specific complex number > > >Number: 4931 > >Category: libf2c > >Synopsis: Code hangs while computing log of specific complex number > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: unassigned > >State: open > >Class: sw-bug > >Submitter-Id: net > >Arrival-Date: Thu Nov 22 14:16:01 PST 2001 > >Closed-Date: > >Last-Modified: > >Originator: Stefano Simonucci > >Release: g77-3.0.x (release), g77-3.1 (experimental) > >Organization: > >Environment: > Not relevant. > >Description: > The following code hangs: > > double complex a,b > a=(-0.992198783,-0.0275850352) > write(6,*) ' A',a > b=log(a) > write(6,*) ' B',b > stop > end > > before printing B. > >How-To-Repeat: > > >Fix: > > >Release-Note: > >Audit-Trail: > >Unformatted:
next reply other threads:[~2001-11-23 4:36 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2001-11-19 8:26 Tim Prince [this message] -- strict thread matches above, loose matches on Subject: below -- 2001-11-19 7:06 toon 2001-11-19 3:46 toon 2001-11-19 3:44 toon
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=20011123043602.29774.qmail@sourceware.cygnus.com \ --to=tprince@computer.org \ --cc=gcc-prs@gcc.gnu.org \ --cc=toon@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).