Re: [PATCH] Fix PR 101683: FP exceptions for float->unsigned

2021-08-02 Thread Richard Biener via Gcc-patches
On Fri, Jul 30, 2021 at 9:22 PM apinski--- via Gcc-patches wrote: > > From: Andrew Pinski > > Just like the old bug PR9651, unsigned_fix rtl should > also be handled as a trapping instruction. > > OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions. OK. > gcc/ChangeLog: > >

[PATCH] Fix PR 101683: FP exceptions for float->unsigned

2021-07-30 Thread apinski--- via Gcc-patches
From: Andrew Pinski Just like the old bug PR9651, unsigned_fix rtl should also be handled as a trapping instruction. OK? Bootstrapped and tested on x86_64-linux-gnu with no regressions. gcc/ChangeLog: PR rtl-optimization/101683 * rtlanal.c (may_trap_p_1): Handle UNSIGNED_FIX. -