From: H.J. Lu <hjl@lucon.org>
To: egcs@cygnus.com
Subject: Another linux/alpha bug
Date: Sat, 30 Aug 1997 05:43:52 -0000 [thread overview]
Message-ID: <m0x4h34-0004ekC@ocean.lucon.org> (raw)
Hi,
egcs 970828 for linux/alpha dumps core on this test, but gcc 2.7.2.1
is fine.
# gcc -S -mieee -O2 float.c
gcc: Internal compiler error: program cc1 got fatal signal 6
--
H.J. Lu (hjl@gnu.ai.mit.edu)
---float---
extern __const unsigned short int *__ctype_b;
int cost_of(const char * cp)
{
float number = 0;
for (cp += 2; *cp != '>'; cp++)
{
if (__ctype_b[(int) ( ( *cp ) )])
number = number * 10 + (*cp - '0');
else if (*cp == '.')
number += (*++cp - 10) / 10.0;
}
return (int) (number * 10);
}
next reply other threads:[~1997-08-30 5:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-08-30 5:43 H.J. Lu [this message]
1997-09-02 18:24 ` Jim Wilson
1997-08-31 2:07 Richard Henderson
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=m0x4h34-0004ekC@ocean.lucon.org \
--to=hjl@lucon.org \
--cc=egcs@cygnus.com \
/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).