[PATCH] PR middle-end/53267: Constant fold BUILT_IN_FMOD.
Wed Jun 9 15:26:38 GMT 2021
On 6/9/2021 4:51 AM, Richard Biener via Gcc-patches wrote:
> On Tue, Jun 8, 2021 at 9:36 PM Roger Sayle <firstname.lastname@example.org> wrote:
>> Here's a three line patch to implement constant folding for fmod,
>> fmodf and fmodl, which resolves an enhancement request from 2012.
>> The following patch has been tested on x86_64-pc-linux-gnu with
>> a make bootstrap and make -k check with no new failures.
>> Ok for mainline?
> OK. I double-checked and mpfr_fmod appeared in mpfr 2.4.0 and
> we require at least 3.1.0.
I'm not sure if Roger has write access these days, so I went ahead and
committed the patch on his behalf.
More information about the Gcc-patches