public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* optimization/2415: ICE (regression 2.95.2->gcc3.0) when compiling fdlibm
@ 2001-04-01 0:00
0 siblings, 0 replies; 2+ messages in thread
From: @ 2001-04-01 0:00 UTC (permalink / raw)
To: egcs
&g
>From rth@gcc.gnu.org Sun Apr 01 00:00:00 2001
From: rth@gcc.gnu.org
To: rth@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org
Subject: Re: optimization/870
Date: Sun, 01 Apr 2001 00:00:00 -0000
Message-id: <20010116112605.20575.qmail@sourceware.cygnus.com>
X-SW-Source: 2001-q1/msg00335.html
Content-length: 678
The following reply was made to PR optimization/870; it has been noted by GNATS.
From: rth@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org, igor@txc.com, nobody@gcc.gnu.org, rth@gcc.gnu.org
Cc:
Subject: Re: optimization/870
Date: 16 Jan 2001 11:20:46 -0000
Synopsis: Internal error: Segmentation fault.
Responsible-Changed-From-To: unassigned->rth
Responsible-Changed-By: rth
Responsible-Changed-When: Tue Jan 16 03:20:45 2001
Responsible-Changed-Why:
Mine.
State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Tue Jan 16 03:20:45 2001
State-Changed-Why:
Patch sent.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=870&database=gcc
>From bh@techhouse.brown.edu Sun Apr 01 00:00:00 2001
From: bh@techhouse.brown.edu
To: gcc-gnats@gcc.gnu.org
Subject: other/2307: README points to deprecated INSTALL directory
Date: Sun, 01 Apr 2001 00:00:00 -0000
Message-id: <20010316235758.20019.qmail@sourceware.cygnus.com>
X-SW-Source: 2001-q1/msg02410.html
Content-length: 1252
>Number: 2307
>Category: other
>Synopsis: README points to deprecated INSTALL directory
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Mar 16 16:06:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Benoit Hudson
>Release: gcc-2.95.3
>Organization:
>Environment:
>Description:
Readme points to INSTALL rather than install.
>How-To-Repeat:
>Fix:
> diff -c README README.new
*** README Fri Oct 2 02:22:07 1998
--- README.new Fri Mar 16 15:53:51 2001
***************
*** 4,11 ****
debuggers, etc., plus their support routines, definitions, and documentation.
! Check the INSTALL directory for detailed configuration and installation
! instructions.
Much of the code and documentation enclosed is copyright by
--- 4,11 ----
debuggers, etc., plus their support routines, definitions, and documentation.
! Check the file install/index.html (or install/INDEX for plain-text) for
! detailed configuration and installation instructions.
Much of the code and documentation enclosed is copyright by
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
* optimization/2415: ICE (regression 2.95.2->gcc3.0) when compiling fdlibm
@ 2001-03-28 8:46 Jan Vroonhof
0 siblings, 0 replies; 2+ messages in thread
From: Jan Vroonhof @ 2001-03-28 8:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 2415
>Category: optimization
>Synopsis: ICE (regression 2.95.2->gcc3.0) when compiling pow from fdlibm
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Wed Mar 28 08:46:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Jan Vroonhof <jan.vroonhof@insignia.com>
>Release: 3.0 20010328 (prerelease)
>Organization:
Insignia Solutions
>Environment:
System: Linux bart 2.2.17 #2 Tue Mar 13 22:44:15 GMT 2001 i686 unknown
Architecture: i686
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: ../configure --prefix /local/cross/i386/gcc-3.0
>Description:
When compiling __ieee754_pow gcc 3.0 (compiled from CVS checkout,
verified with online test compiler for 20010327 snapshot)
the compiler ICE's at -O2 (previous versions produced incorrect code).
>How-To-Repeat:
I have tried stripping down the function as far as possible. The result
is inserted below. Compile with
gcc -O2 -o printpow printpow.i
and you will get
printpow.i: In function `__ieee754_pow':
printpow.i:75: Unable to find a register to spill in class `AREG'.
printpow.i:75: This is the insn:
(insn 209 79 82 (set (subreg:SI (reg/v:DF 15 st(7) [76]) 0)
(const_int 0 [0x0])) 35 {*movsi_1} (nil)
(nil))
printpow.i:75: confused by earlier errors, bailing out
The file [Note: This has been stripped down aggressively by deleting
blocks of code so might no longer make sense.]:
double __ieee754_pow(double x,
double y)
{
double z,
ax,
z_h,
z_l,
p_h,
p_l;
double y1,
t1,
t2,
r,
s,
t,
u,
v,
w;
int i,
j,
k,
yisint,
n;
int hx,
hy,
ix,
iy;
unsigned lx,
ly;
if (0)
{
}
else
{
double s2,
s_h,
s_l,
t_h,
t_l;
if (ix < 0x00100000)
{
ax *= 0;
n -= 53;
ix = (*(1+(int*)&ax));
}
n += ((ix) >> 20) - 0x3ff;
(*(int*)&s_h) = 0;
r += s_l * (s_h + s);
s2 = s_h * s_h;
t_h = 3.0 + s2 + r;
(*(int*)&t_h) = 0;
t_l = r - ((t_h - 3.0) - s2);
u = s_h * t_h;
v = s_l * t_h + t_l * s;
p_h = u + v;
(*(int*)&p_h) = 0;
p_l = v - (p_h - u);
z_h = 0;
z_l = p_h + p_l;
t = (double) n;
t1 = (((z_h + z_l)) + t);
(*(int*)&t1) = 0;
t2 = z_l - (((t1 - t)) - z_h);
}
y1 = y;
(*(int*)&y1) = 0;
p_l = (y - y1) * t1 + y * t2;
p_h = y1 * t1;
z = p_l + p_h;
return s * z;
}
>Fix:
No known fix or workaround
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-04-01 0:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-01 0:00 optimization/2415: ICE (regression 2.95.2->gcc3.0) when compiling fdlibm
-- strict thread matches above, loose matches on Subject: below --
2001-03-28 8:46 Jan Vroonhof
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).