public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: middle-end/3474: __builtin_sqrtf calls sqrtf
@ 2002-03-22 16:38 gdr
0 siblings, 0 replies; 3+ messages in thread
From: gdr @ 2002-03-22 16:38 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, gdr, nathan, nobody, wolfgang.bangerth
Synopsis: __builtin_sqrtf calls sqrtf
Responsible-Changed-From-To: unassigned->gdr
Responsible-Changed-By: gdr
Responsible-Changed-When: Fri Mar 22 16:38:41 2002
Responsible-Changed-Why:
Mine.
State-Changed-From-To: analyzed->closed
State-Changed-By: gdr
State-Changed-When: Fri Mar 22 16:38:41 2002
State-Changed-Why:
Fixed with
2001-06-24 David Edelsohn <dje@watson.ibm.com>
* libmath/stubs.c (sqrtf): Define.
(tanf): Correct typo.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3474
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: middle-end/3474: __builtin_sqrtf calls sqrtf
@ 2001-06-29 4:46 nathan
0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2001-06-29 4:46 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nathan, nobody, wolfgang.bangerth
Synopsis: __builtin_sqrtf calls sqrtf
State-Changed-From-To: open->analyzed
State-Changed-By: nathan
State-Changed-When: Fri Jun 29 04:46:23 2001
State-Changed-Why:
2.95 also produces the same code, however I've marked
this high priority as now libstdc++ uses it and it
is a user visible regression from that point of view.
bug 3072 records the initial problem with libstdc++
Oh yes, __builtin_sinf and __builtin_cosf are similarly
aflicted.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=3474&database=gcc
^ permalink raw reply [flat|nested] 3+ messages in thread
* middle-end/3474: __builtin_sqrtf calls sqrtf
@ 2001-06-29 2:46 nathan
0 siblings, 0 replies; 3+ messages in thread
From: nathan @ 2001-06-29 2:46 UTC (permalink / raw)
To: gcc-gnats; +Cc: wolfgang.bangerth
>Number: 3474
>Category: middle-end
>Synopsis: __builtin_sqrtf calls sqrtf
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jun 29 02:46:13 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Nathan
>Release: 3.0
>Organization:
>Environment:
sparc-sun-solaris2.7
>Description:
the builtin __builtin_sqrtf expands to code
which calls sqrtf. sqrtf is not available on all systems.
In particular it is not available on Solaris.
__builtin_sqrtf is used by libstdc++'s implementation of
float std::sqrt (float);
I attach a sample source file, and the assembler output
nathan@manao:716>gcc -v -S builtin.c
Reading specs from /usr/local/egcs/sparc-SunOS-5/lib/gcc-lib/sparc-sun-solaris2.7/3.0/specs
Configured with: ../gcc-3.0/configure --prefix=/usr/local/egcs --exec-prefix=/usr/local/egcs/sparc-SunOS-5 --with-ld=/usr/local/egcs/sparc-SunOS-5/bin/ld --with-as=/usr/local/egcs/sparc-SunOS-5/bin/as
Thread model: posix
gcc version 3.0
/usr/local/egcs/sparc-SunOS-5/lib/gcc-lib/sparc-sun-solaris2.7/3.0/cc1 -lang-c -std=c89 -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=0 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun -D__unix -Asystem=unix -Asystem=svr4 -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -D__GCC_NEW_VARARGS__ -Acpu=sparc -Amachine=sparc builtin.c -quiet -dumpbase builtin.c -ansi -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -ansi -version -o builtin.s
GNU CPP version 3.0 (cpplib) (sparc)
GNU C version 3.0 (sparc-sun-solaris2.7)
compiled by GNU C version 3.0.
ignoring nonexistent directory "/usr/local/egcs/sparc-SunOS-5/sparc-sun-solaris2.7/include"
#include "..." search starts here:
#include <...> search starts here:
/usr/local/include
/usr/local/egcs/sparc-SunOS-5/lib/gcc-lib/sparc-sun-solaris2.7/3.0/include
/usr/include
End of search list.
builtin.c:2: warning: no previous prototype for `foo'
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="builtin.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="builtin.c"
ZmxvYXQgZm9vIChmbG9hdCBmKQp7CiAgcmV0dXJuIF9fYnVpbHRpbl9zcXJ0ZiAoZik7Cn0K
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-03-23 0:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-22 16:38 middle-end/3474: __builtin_sqrtf calls sqrtf gdr
-- strict thread matches above, loose matches on Subject: below --
2001-06-29 4:46 nathan
2001-06-29 2:46 nathan
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).