On Thu, Jan 18, 2018 at 03:31:38PM -0500, John David Anglin wrote: > On 2018-01-18 2:44 PM, John David Anglin wrote: > > > I don't have hpux or hppa-linux fenv.h, so can't check pr52451.c. > > Will have to investigate. I see they predate your patch. > This is a test issue. The long double support on hpux is a software > emulation > and it's not supported the fenv.h routines.
I think this explanation belongs into the testcase as a comment to explain why you aren't testing it on hppa-hpux. Ok with that change. > 2018-01-18 John David Anglin <[email protected]> > > * gcc.dg/torture/pr52451.c (main): Skip long double test on > hppa*-*-hpux*. > > Index: gcc.dg/torture/pr52451.c > =================================================================== > --- gcc.dg/torture/pr52451.c (revision 256744) > +++ gcc.dg/torture/pr52451.c (working copy) > @@ -49,7 +49,9 @@ > > TEST (float, f); > TEST (double, ); > +#if !defined(__hppa__) || !defined(__hpux__) > TEST (long double, l); > +#endif > > return 0; > } Jakub
