From: Steven G. Kargl Date: Tue, 31 Jan 2017 21:42:01 +0000 (+0000) Subject: re PR fortran/79305 (real128 - undefined reference to cexpl) X-Git-Tag: releases/gcc-5.5.0~549 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c9e9827e6ef4a855407c6fbc4f60591e79ad6fa;p=thirdparty%2Fgcc.git re PR fortran/79305 (real128 - undefined reference to cexpl) 2017-01-31 Steven G. Kargl PR fortran/79305 * c99_protos.h: Spell HAVE_EXPL correctly. * intrinsics/c99_functions.c: Ditto. From-SVN: r245074 --- diff --git a/libgfortran/ChangeLog b/libgfortran/ChangeLog index 078910059f94..a0471221cc83 100644 --- a/libgfortran/ChangeLog +++ b/libgfortran/ChangeLog @@ -1,3 +1,9 @@ +2017-01-31 Steven G. Kargl + + PR fortran/79305 + * c99_protos.h: Spell HAVE_EXPL correctly. + * intrinsics/c99_functions.c: Ditto. + 2016-10-31 Jerry DeLisle Backport from trunk diff --git a/libgfortran/c99_protos.h b/libgfortran/c99_protos.h index 45f4e2626667..bb7261626865 100644 --- a/libgfortran/c99_protos.h +++ b/libgfortran/c99_protos.h @@ -332,7 +332,7 @@ extern float complex cexpf (float complex); extern double complex cexp (double complex); #endif -#if !defined(HAVE_CEXPL) && defined(HAVE_COSL) && defined(HAVE_SINL) && defined(EXPL) +#if !defined(HAVE_CEXPL) && defined(HAVE_COSL) && defined(HAVE_SINL) && defined(HAVE_EXPL) #define HAVE_CEXPL 1 extern long double complex cexpl (long double complex); #endif diff --git a/libgfortran/intrinsics/c99_functions.c b/libgfortran/intrinsics/c99_functions.c index 7bfd16ab0d40..ddaca389e879 100644 --- a/libgfortran/intrinsics/c99_functions.c +++ b/libgfortran/intrinsics/c99_functions.c @@ -913,7 +913,7 @@ cexp (double complex z) } #endif -#if !defined(HAVE_CEXPL) && defined(HAVE_COSL) && defined(HAVE_SINL) && defined(EXPL) +#if !defined(HAVE_CEXPL) && defined(HAVE_COSL) && defined(HAVE_SINL) && defined(HAVE_EXPL) #define HAVE_CEXPL 1 long double complex cexpl (long double complex z);