Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2010-11-04 21:27:13 +0300
committerJeff Johnston <jjohnstn@redhat.com>2010-11-04 21:27:13 +0300
commitd39e3a1edc07e715e5f2f5b12901310184ee31fe (patch)
tree933b75a17f5c7f30f8f25a45b860c47ff796a489 /newlib/libm
parent5e504c84e1a219b97af6e5083c9049201c1586c1 (diff)
2010-11-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* libm/complex/cacos.c: Reorder function calls to work around ICE in arm/thumb-gcc.
Diffstat (limited to 'newlib/libm')
-rw-r--r--newlib/libm/complex/cacos.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/newlib/libm/complex/cacos.c b/newlib/libm/complex/cacos.c
index d871617e3..3196d970f 100644
--- a/newlib/libm/complex/cacos.c
+++ b/newlib/libm/complex/cacos.c
@@ -83,6 +83,7 @@ cacos(double complex z)
double complex w;
w = casin(z);
- w = (M_PI_2 - creal(w)) - cimag(w) * I;
+ w = M_PI_2 - creal(w);
+ w -= (cimag(w) * I);
return w;
}