[PATCH] LoongArch: fix missing trap for enabled exceptions on narrowing operation

Xi Ruoyao xry111@xry111.site
Thu Mar 19 08:47:39 GMT 2026


On Thu, 2026-03-19 at 16:31 +0800, Xi Ruoyao wrote:

/* snip */

> +#include <errno.h>
> +#include <fenv.h>
> +#include <math.h>
> +#include <stdio.h>
> +#include <stdlib.h>
> +#include <sys/wait.h>
> +#include <sys/resource.h>
> +#include <unistd.h>
> +
> +#define EXCEPTION_ENABLE_SUPPORTED(...) 1
> +#define math_force_eval(...) ((void)0)

Oops, those two lines are left overs from the draft version.  Please
disregard them.

I'll send v2 after hearing reviews from others.

-- 
Xi Ruoyao <xry111@xry111.site>


More information about the Libc-alpha mailing list