[Patch, fortran] Use BUILT_IN_IROUND

Janne Blomqvist blomqvist.janne@gmail.com
Thu Mar 15 20:28:00 GMT 2012


On Thu, Mar 15, 2012 at 22:14, Tobias Burnus <burnus@net-b.de> wrote:
> Janne Blomqvist wrote:
>>
>> since some time GCC has BUILT_IN_IROUND{F,,L}, similar to lround() and
>> llround() but the result is returned as an integer.
>>
>> Regtested on x86_64-unknown-linux-gnu, Ok for trunk?
>
>
> OK. Thanks for the patch! Nit: Could you check mathbuiltins.def - at least
> in the diff, "iround" seems to be misaligned (one " " missing).

Ah, a tab had sneaked in, fixed. Committed the fixed patch as r185442.
Thanks for the quick review!

-- 
Janne Blomqvist



More information about the Fortran mailing list