[PATCH] PR middle-end/53267: Constant fold BUILT_IN_FMOD.

Roger Sayle roger@nextmovesoftware.com
Wed Jun 9 17:01:21 GMT 2021


Hi Jeff (and Richard),
Many thanks to you both.  Fingers-crossed my write-access (after approval) still works
(I think it's just maintainer status that I've lost over time), but finding time to contribute
is getting much harder, so my response time is much slower than it was a decade ago.
Having someone help with committing patches is always very much appreciated.
Cheers,
Roger
--

-----Original Message-----
From: Jeff Law <jeffreyalaw@gmail.com> 
Sent: 09 June 2021 16:27
To: Richard Biener <richard.guenther@gmail.com>; Roger Sayle <roger@nextmovesoftware.com>
Cc: GCC Patches <gcc-patches@gcc.gnu.org>
Subject: Re: [PATCH] PR middle-end/53267: Constant fold BUILT_IN_FMOD.



On 6/9/2021 4:51 AM, Richard Biener via Gcc-patches wrote:
> On Tue, Jun 8, 2021 at 9:36 PM Roger Sayle <roger@nextmovesoftware.com> 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.

jeff




More information about the Gcc-patches mailing list