Re: [PATCH] libgcc: Fix UB in FP_FROM_BITINT

2024-02-13 Thread Richard Biener
On Tue, 13 Feb 2024, Jakub Jelinek wrote: > Hi! > > As I wrote earlier, I was seeing > FAIL: gcc.dg/torture/bitint-24.c -O0 execution test > FAIL: gcc.dg/torture/bitint-24.c -O2 execution test > with the ia32 _BitInt enablement patch on i686-linux. I thought > floatbitintxf.c was

[PATCH] libgcc: Fix UB in FP_FROM_BITINT

2024-02-13 Thread Jakub Jelinek
Hi! As I wrote earlier, I was seeing FAIL: gcc.dg/torture/bitint-24.c -O0 execution test FAIL: gcc.dg/torture/bitint-24.c -O2 execution test with the ia32 _BitInt enablement patch on i686-linux. I thought floatbitintxf.c was miscompiled with -O2 -march=i686 -mtune=generic, but it turned