Am 23.11.20 um 22:51 schrieb Maciej W. Rozycki:
/* Define to 1 if you have the <ieeefp.h> header file. */
#undef HAVE_IEEEFP_H
So perhaps it does do the "right thing" if you do not have this header file on
your VAX operating system.
Well it does not:
In file included from .../libgfortran/generated/maxval_r4.c:26:
.../libgfortran/generated/maxval_r4.c: In function 'maxval_r4':
.../libgfortran/libgfortran.h:292:30: warning: target format does not support
infinity
292 | # define GFC_REAL_4_INFINITY __builtin_inff ()
| ^~~~~~~~~~~~~~
This is guarded with
#ifdef __FLT_HAS_INFINITY__
# define GFC_REAL_4_INFINITY __builtin_inff ()
#endif
I don't know how or why __FLT_HAS_INFINITY is set for a target which
does not support it, but if you get rid of that macro, that particular
problem should be solved.
Best regards
Thomas