Running the gcc validation suite, I noticed that gfortran.dg/complex_intrinsic_5.f90 was failing when using MUSL. I tracked it down to the cacosh routines not getting the correct result when the imaginary part of the argument was negative. Attached is a patch to fix this. Michael