summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/f/runtime/libF77/d_cnjg.c
diff options
context:
space:
mode:
authorThomas Graichen <graichen@cvs.openbsd.org>1997-04-04 13:21:36 +0000
committerThomas Graichen <graichen@cvs.openbsd.org>1997-04-04 13:21:36 +0000
commit50325cbab454647a313ba68279c844e2bc6143af (patch)
tree0e52e902317bb4442448c5c61ab6d2162111a240 /gnu/usr.bin/gcc/f/runtime/libF77/d_cnjg.c
parentb2ad87cb6f8d3d16576e4e93251e0228f0672cdc (diff)
sync g77 to version 0.5.20 - i hope i got everything right because there
is no patch from 0.5.19 to 0.5.20 - so i did it by diffing two gcc trees looking carefully at the results what does the new g77 give us: * now it completely works on the alpha (64bit) * faster * less bugs :-)
Diffstat (limited to 'gnu/usr.bin/gcc/f/runtime/libF77/d_cnjg.c')
-rw-r--r--gnu/usr.bin/gcc/f/runtime/libF77/d_cnjg.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/gnu/usr.bin/gcc/f/runtime/libF77/d_cnjg.c b/gnu/usr.bin/gcc/f/runtime/libF77/d_cnjg.c
index c778c38758c..1afa3bc4061 100644
--- a/gnu/usr.bin/gcc/f/runtime/libF77/d_cnjg.c
+++ b/gnu/usr.bin/gcc/f/runtime/libF77/d_cnjg.c
@@ -2,11 +2,16 @@
VOID
#ifdef KR_headers
-d_cnjg(r, z) doublecomplex *r, *z;
+d_cnjg(resx, z) doublecomplex *resx, *z;
#else
-d_cnjg(doublecomplex *r, doublecomplex *z)
+d_cnjg(doublecomplex *resx, doublecomplex *z)
#endif
{
-r->r = z->r;
-r->i = - z->i;
+doublecomplex res;
+
+res.r = z->r;
+res.i = - z->i;
+
+resx->r = res.r;
+resx->i = res.i;
}