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

Xi Ruoyao xry111@xry111.site
Fri Mar 20 02:45:50 GMT 2026


On Fri, 2026-03-20 at 09:25 +0800, caiyinyu wrote:
> > diff --git a/math/test-narrowing-trap.c b/math/test-narrowing-trap.c
> > new file mode 100644
> > index 0000000000..110ac15f62
> > --- /dev/null
> > +++ b/math/test-narrowing-trap.c
> 
> 
> HI, this test failed on loongarch64-linux-gnusf.

It's because the "#define EXCEPTION_ENABLE_SUPPORTED(...) 1" line that I
should have removed before submission.  I'll remove it in v2 as I've
mentioned.

That line also causes failures on Linaro CI (ARM and AArch64).

-- 
Xi Ruoyao <xry111@xry111.site>


More information about the Libc-alpha mailing list