public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Don't unilaterally include <ieeefp.h> when checking for fpsetmask
@ 2014-08-07 20:22 John David Anglin
  2014-11-24 17:55 ` John David Anglin
  0 siblings, 1 reply; 3+ messages in thread
From: John David Anglin @ 2014-08-07 20:22 UTC (permalink / raw)
  To: GCC Patches; +Cc: fortran

[-- Attachment #1: Type: text/plain, Size: 199 bytes --]

The attached change fixes the build of libgfortran on hppa1.1-hp- 
hpux10.20 (I know I'm going
for the oldest system that will build gfortran).

OK?

Dave
--
John David Anglin	dave.anglin@bell.net



[-- Attachment #2: configure.ac.d.txt --]
[-- Type: text/plain, Size: 604 bytes --]

2014-08-08  John David Anglin  <danglin@gcc.gnu.org>

	* configure.ac: Guard include of <ieeefp.h>.
	* configure: Rebuilt.

Index: configure.ac
===================================================================
--- configure.ac	(revision 212093)
+++ configure.ac	(working copy)
@@ -522,11 +522,15 @@
 # Check for SysV fpsetmask
 LIBGFOR_CHECK_FPSETMASK
 AC_CHECK_TYPES([fp_except,fp_except_t], [], [], [[
+#ifdef HAVE_IEEEFP_H
 #include <ieeefp.h>
+#endif
 #include <math.h>
 ]])
 AC_CHECK_TYPES([fp_rnd,fp_rnd_t], [], [], [[
+#ifdef HAVE_IEEEFP_H
 #include <ieeefp.h>
+#endif
 #include <math.h>
 ]])
 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Don't unilaterally include <ieeefp.h> when checking for fpsetmask
  2014-08-07 20:22 [PATCH] Don't unilaterally include <ieeefp.h> when checking for fpsetmask John David Anglin
@ 2014-11-24 17:55 ` John David Anglin
  2014-11-24 18:13   ` FX
  0 siblings, 1 reply; 3+ messages in thread
From: John David Anglin @ 2014-11-24 17:55 UTC (permalink / raw)
  To: GCC Patches; +Cc: fortran

On 8/7/2014 4:22 PM, John David Anglin wrote:
> The attached change fixes the build of libgfortran on 
> hppa1.1-hp-hpux10.20 (I know I'm going
> for the oldest system that will build gfortran).
>
> OK?
>
Ping.

Dave

-- 
John David Anglin    dave.anglin@bell.net

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Don't unilaterally include <ieeefp.h> when checking for fpsetmask
  2014-11-24 17:55 ` John David Anglin
@ 2014-11-24 18:13   ` FX
  0 siblings, 0 replies; 3+ messages in thread
From: FX @ 2014-11-24 18:13 UTC (permalink / raw)
  To: John David Anglin; +Cc: GCC Patches, fortran

>> The attached change fixes the build of libgfortran on hppa1.1-hp-hpux10.20 (I know I'm going
>> for the oldest system that will build gfortran).

OK

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-24 17:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-07 20:22 [PATCH] Don't unilaterally include <ieeefp.h> when checking for fpsetmask John David Anglin
2014-11-24 17:55 ` John David Anglin
2014-11-24 18:13   ` FX

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).