[PATCH] conform: add ISO23 data for fenv.h

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Mon Nov 23 13:01:53 GMT 2026


As Joseph said, FE_DFL_MODE is missing.  Written like FE_DFL_ENV, this
passes on x86_64:

#if defined ISO23
macro FE_DFL_MODE {const femode_t *}
#endif

With FE_DFL_MODE added:

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

On 21/10/26 08:30, Andreas Schwab wrote:
> 
> ---
>  conform/data/fenv.h-data | 7 +++++++
>  1 file changed, 7 insertions(+)
> 
> diff --git a/conform/data/fenv.h-data b/conform/data/fenv.h-data
> index b3f674cc09..8acb8cdd07 100644
> --- a/conform/data/fenv.h-data
> +++ b/conform/data/fenv.h-data
> @@ -29,6 +29,13 @@ function int fegetenv (fenv_t*)
>  function int feholdexcept (fenv_t*)
>  function int fesetenv (const fenv_t*)
>  function int feupdateenv (const fenv_t *)
> +#if defined ISO23
> +type femode_t
> +function int fegetmode (femode_t*)
> +function int fesetmode (const femode_t*)
> +function int fesetexcept (int)
> +function int fetestexceptflag (const fexcept_t*, int)
> +#endif
>  
>  #if !defined ISO && !defined ISO99 && !defined ISO11 && !defined ISO23
>  allow *_t



More information about the Libc-alpha mailing list