[Info-vax] gnulib test-fmal-ieee failure help needed.
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Mon Jul 24 16:04:58 EDT 2017
On 2017-07-23 03:52:24 +0000, John E. Malmberg said:
> On 7/22/2017 10:09 PM, Craig A. Berry wrote:
>> On 7/22/17 8:54 PM, John E. Malmberg wrote:
>>> The gnulib test-fmal-ieee is failing for the gnulib provided fmal routine.
>>>
>>> Actually a lot of the IEEE tests are failing.
>>>
>>> My compiler command line on OpenVMS 8.4 is:
>>>
>>> CC/STANDARD=(RELAXED)/ACCEPT=(NOVAXC,RESTR,C99)-
>>> /LIST/SHOW=(EXPAN,INCLU)/NAMES=(AS_IS,SHORT)-
>>> /MAIN=POSIX_EXIT-
>>> /FLOAT=IEEE/IEEE_MODE=DENORM_RESULTS-
>>> /NESTED=NONE-
>>> /PREFIX=EXCEPT=(STRTOIMAX,STRTOUMAX,ISWBLANK,ISBLANK)-
>>> /WARN=(DISABLE=QUESTCOMPARE)-
>>> /DEBUG/NOOPTIMIZE/DEB=ALL/NOOPT-
>>> /DEF=-(HAVE_CONFIG_H,EXEEXT="",EXEEXT="",NO_XMALLOC,EXEEXT="",-
>>> GNULIB_STRICT_CHECKING=1,_POSIX_EXIT,_USE_STD_STAT,-
>>> _ _USE_STD_IOSTREAM)-
>>> /INC=(./,../)/OBJECT=SYS$DISK:[]fmal.o SYS$DISK:[]fmal.c
>>>
>>> The floating variables involved are declared double.
>>> ...
>
> ...the gnulib fmal code is long doubles, not doubles.
>
> VMS has a number of the declarations that should be in math.h in fp.h.
There's a decent shot that this is a bug in OpenVMS C and
underpinnings, but... where is the question.
Turn on /CHECK=ALL diagnostics, and see if that qualifier reports
anything interesting or relevant? That certainly won't fix anything.
but that might flag something.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list