* PPro is broken in egcs
@ 1998-03-12 14:50 H.J. Lu
1998-03-16 20:03 ` Jim Wilson
0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 1998-03-12 14:50 UTC (permalink / raw)
To: egcs
Hi,
Here is another test case for egcs on PPro:
# cc -S -O2 -march=i686 -B/home/work/gnu/bin/egcs/gcc/ r_tanh.c
cc: Internal compiler error: program cc1 got fatal signal 6
It looks like egcs is broken on PPro.
--
H.J. Lu (hjl@gnu.org)
---
Thu Mar 12 13:10:14 1998 H.J. Lu (hjl@gnu.org)
* gcc.dg/980312-1.c: Another new test for fp on PPro.
--- /dev/null Wed Dec 31 16:00:00 1969
+++ gcc.dg/980312-1.c Thu Mar 12 13:13:26 1998
@@ -0,0 +1,20 @@
+/* { dg-do compile { target i?86-*-* } } */
+/* { dg-options "-O2 -mach=pentiumpro" } */
+
+extern __inline double
+__expm1 (double __x)
+{
+ double __temp;
+ __temp = 1.0;
+ return __temp;
+}
+extern __inline double
+__sgn1 (double __x)
+{
+ return __x >= 0.0 ? 1.0 : -1.0;
+}
+double
+tanh (double __x)
+{
+ return __expm1 (__x) * __sgn1 (-__x);
+}
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: PPro is broken in egcs
1998-03-12 14:50 PPro is broken in egcs H.J. Lu
@ 1998-03-16 20:03 ` Jim Wilson
0 siblings, 0 replies; 2+ messages in thread
From: Jim Wilson @ 1998-03-16 20:03 UTC (permalink / raw)
To: H.J. Lu; +Cc: egcs
I added this new testcase.
Jim
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-03-16 20:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-12 14:50 PPro is broken in egcs H.J. Lu
1998-03-16 20:03 ` Jim Wilson
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).