[Bug fortran/107870] A possible typo in the documentation of 'FLOOR'

2022-11-25 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107870

anlauf at gcc dot gnu.org changed:

   What|Removed |Added

   Last reconfirmed||2022-11-25
   Keywords||documentation
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #1 from anlauf at gcc dot gnu.org ---
Confirmed.  The standard uses A, so let's use that.

The standard nowadays also says about the KIND argument:

KIND (optional) shall be a scalar integer constant expression.

(instead of "initialization expression".)

We might adjust that for all affected intrinsics.

[Bug fortran/107870] A possible typo in the documentation of 'FLOOR'

2022-12-03 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107870

anlauf at gcc dot gnu.org changed:

   What|Removed |Added

   Assignee|unassigned at gcc dot gnu.org  |anlauf at gcc dot 
gnu.org
 Status|NEW |ASSIGNED
 CC||anlauf at gcc dot gnu.org

--- Comment #2 from anlauf at gcc dot gnu.org ---
Submitted: https://gcc.gnu.org/pipermail/fortran/2022-December/058567.html

[Bug fortran/107870] A possible typo in the documentation of 'FLOOR'

2022-12-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107870

--- Comment #3 from CVS Commits  ---
The master branch has been updated by Harald Anlauf :

https://gcc.gnu.org/g:98d6e4b6f1011655da19344bc124a3013b9c0134

commit r13-4485-g98d6e4b6f1011655da19344bc124a3013b9c0134
Author: Harald Anlauf 
Date:   Sat Dec 3 21:13:48 2022 +0100

Fortran: fix typo in documentation of intrinsic FLOOR [PR107870]

gcc/fortran/ChangeLog:

PR fortran/107870
* intrinsic.texi: Fix typo in documentation of intrinsic FLOOR.
Describe the optional KIND argument to intrinsics as a scalar
constant expression, in accordance with the current standard.

[Bug fortran/107870] A possible typo in the documentation of 'FLOOR'

2022-12-04 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107870

anlauf at gcc dot gnu.org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
   Target Milestone|--- |13.0
 Resolution|--- |FIXED

--- Comment #4 from anlauf at gcc dot gnu.org ---
Fixed for gcc-13.  Closing.

Thanks for the report!

[Bug fortran/107870] A possible typo in the documentation of 'FLOOR'

2022-12-04 Thread ninorpereira at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107870

--- Comment #5 from Nino Pereira  ---
and to you for being so courteous not to laugh me out of the room.

On Sun, Dec 4, 2022 at 2:43 PM anlauf at gcc dot gnu.org <
gcc-bugzi...@gcc.gnu.org> wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107870
>
> anlauf at gcc dot gnu.org changed:
>
>What|Removed |Added
>
> 
>  Status|ASSIGNED|RESOLVED
>Target Milestone|--- |13.0
>  Resolution|--- |FIXED
>
> --- Comment #4 from anlauf at gcc dot gnu.org ---
> Fixed for gcc-13.  Closing.
>
> Thanks for the report!
>
> --
> You are receiving this mail because:
> You reported the bug.