diff mbox

PR fortran/79305 -- Fix spelling in #if defined() condition

Message ID 20170131183514.GC64652@troutmask.apl.washington.edu
State New
Headers show

Commit Message

Steve Kargl Jan. 31, 2017, 6:35 p.m. UTC
I would like to apply the following patch to trunk.  It technically
isn't a regression or documentation fix.  Is this ok with the release
managers?

2017-01-31  Steven G. Kargl  <kargl@gcc.gnu.org>

	PR fortran/79305
	* libgfortran/c99_protos.h: Spell HAVE_EXPL correctly.
	* libgfortran/intrinsics/c99_functions.c: Ditto.

Comments

Jakub Jelinek Jan. 31, 2017, 6:41 p.m. UTC | #1
On Tue, Jan 31, 2017 at 10:35:14AM -0800, Steve Kargl wrote:
> I would like to apply the following patch to trunk.  It technically
> isn't a regression or documentation fix.  Is this ok with the release
> managers?

Ok.
> 
> 2017-01-31  Steven G. Kargl  <kargl@gcc.gnu.org>
> 
> 	PR fortran/79305
> 	* libgfortran/c99_protos.h: Spell HAVE_EXPL correctly.
> 	* libgfortran/intrinsics/c99_functions.c: Ditto.

But please no libgfortran/ prefix in libgfortran/ChangeLog.

	Jakub
Steve Kargl Jan. 31, 2017, 6:46 p.m. UTC | #2
On Tue, Jan 31, 2017 at 07:41:27PM +0100, Jakub Jelinek wrote:
> On Tue, Jan 31, 2017 at 10:35:14AM -0800, Steve Kargl wrote:
> > I would like to apply the following patch to trunk.  It technically
> > isn't a regression or documentation fix.  Is this ok with the release
> > managers?
> 
> Ok.
> > 
> > 2017-01-31  Steven G. Kargl  <kargl@gcc.gnu.org>
> > 
> > 	PR fortran/79305
> > 	* libgfortran/c99_protos.h: Spell HAVE_EXPL correctly.
> > 	* libgfortran/intrinsics/c99_functions.c: Ditto.
> 
> But please no libgfortran/ prefix in libgfortran/ChangeLog.
> 

Thanks.  I caught the libgfortran/ prefix issue, but copied
from the the wrong edit window.
diff mbox

Patch

Index: libgfortran/c99_protos.h
===================================================================
--- libgfortran/c99_protos.h	(revision 244065)
+++ libgfortran/c99_protos.h	(working copy)
@@ -332,7 +332,7 @@  extern float complex cexpf (float comple
 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
Index: libgfortran/intrinsics/c99_functions.c
===================================================================
--- libgfortran/intrinsics/c99_functions.c	(revision 244065)
+++ libgfortran/intrinsics/c99_functions.c	(working copy)
@@ -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);