public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/10764: ICE when using log(), -fast-math and optimization
@ 2003-05-14  6:26 Dara Hazeghi
  0 siblings, 0 replies; 4+ messages in thread
From: Dara Hazeghi @ 2003-05-14  6:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/10764; it has been noted by GNATS.

From: Dara Hazeghi <dhazeghi@yahoo.com>
To: gcc-gnats@gcc.gnu.org, gcc-bugs@gcc.gnu.org
Cc:  
Subject: Re: optimization/10764: ICE when using log(), -fast-math and optimization
Date: Tue, 13 May 2003 23:20:31 -0700

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- 
 trail&database=gcc&pr=10764
 
 Hello,
 
 now I can confirm this bug on i686-linux. The problem appeared between  
 the 20010511 and 20010513 updates to version.c . Does anybody have a  
 good guess for which patch might have caused this? This is a 3.4  
 regression... Thanks,
 
 Dara
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: optimization/10764: ICE when using log(), -fast-math and optimization
@ 2003-05-14  8:12 toon
  0 siblings, 0 replies; 4+ messages in thread
From: toon @ 2003-05-14  8:12 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, nobody, phil_e, roger

Synopsis: ICE when using log(), -fast-math and optimization

State-Changed-From-To: open->analyzed
State-Changed-By: toon
State-Changed-When: Wed May 14 08:12:19 2003
State-Changed-Why:
    Most probably caused by Roger Sayle's
    "Implement log builtin as x87 intrinsic"
    patch of May 11th.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10764


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: optimization/10764: ICE when using log(), -fast-math and optimization
@ 2003-05-13  5:26 Dara Hazeghi
  0 siblings, 0 replies; 4+ messages in thread
From: Dara Hazeghi @ 2003-05-13  5:26 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/10764; it has been noted by GNATS.

From: Dara Hazeghi <dhazeghi@yahoo.com>
To: phil_e@wanadoo.fr, gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: optimization/10764: ICE when using log(), -fast-math and optimization
Date: Mon, 12 May 2003 22:16:46 -0700

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- 
 trail&database=gcc&pr=10764
 
 Hello,
 
 I can't repeat this bug on gcc 3.4 20030512. That means something in  
 the last day or two must've broken it. I suggest updating your compiler  
 (to latest cvs), and checking (might've been a broken cvs checkin). If  
 that doesn't work, you might want to try checking gcc-patches for  
 anything relevant.
 
 Dara
 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* optimization/10764: ICE when using log(), -fast-math and optimization
@ 2003-05-13  3:56 phil_e
  0 siblings, 0 replies; 4+ messages in thread
From: phil_e @ 2003-05-13  3:56 UTC (permalink / raw)
  To: gcc-gnats


>Number:         10764
>Category:       optimization
>Synopsis:       ICE when using log(), -fast-math and optimization
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue May 13 03:56:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     phil_e@wanadoo.fr
>Release:        gcc version 3.4 20030513 (experimental)
>Organization:
>Environment:
GNU/linux x86
>Description:
double log(double);

double ndtri(double y0)
{
  double x;

  x = log(y0);
  x = log(x);

  return x;
}

$ gcc -O1 -ffast-math gcc-3.4-error.c
gcc-3.4-error.c: In function `ndtri':
gcc-3.4-error.c:11: internal compiler error: in subst_stack_regs_pat, at reg-stack.c:1764

  regno = get_hard_regnum (&temp_stack, *src2);
  if (regno < 0)
    abort ();

>How-To-Repeat:

>Fix:
replace prototype
double log(double);
by
#include <math.h>
or remove -O1 or remove --fast-math
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-05-14  8:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-14  6:26 optimization/10764: ICE when using log(), -fast-math and optimization Dara Hazeghi
  -- strict thread matches above, loose matches on Subject: below --
2003-05-14  8:12 toon
2003-05-13  5:26 Dara Hazeghi
2003-05-13  3:56 phil_e

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).