https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
--- Comment #13 from anlauf at gcc dot gnu.org ---
(In reply to kargls from comment #11)
> If we're discussing derived-type IO, then it is clear from
> Fortran 2023, 12.6.4.8.2, (see p. 255) that the unit number
> has the default integer kind wit
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
--- Comment #12 from Jerry DeLisle ---
"The keyword INTEGER with no kind-selector specifies type integer with default
kind; the kind type parameter value is equal to KIND (0). The decimal exponent
range of default integer shall be at least 5." -
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
--- Comment #11 from kargls at comcast dot net ---
On 2/25/25 12:43, anlauf at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
>
> --- Comment #10 from anlauf at gcc dot gnu.org ---
> (In reply to Jerry DeLisle from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
--- Comment #10 from anlauf at gcc dot gnu.org ---
(In reply to Jerry DeLisle from comment #9)
> We can have only one default integer otherwise its not a default. Our
> default integer is KIND=4
Forgive me for being stupid, but leaving aside the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
--- Comment #9 from Jerry DeLisle ---
We can have only one default integer otherwise its not a default. Our default
integer is KIND=4
The RANGE of KIND=4 integer is 9, so we exceed the requirement for at least a
decimal range of 5. RANGE is def
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
--- Comment #8 from anlauf at gcc dot gnu.org ---
(In reply to Jerry DeLisle from comment #7)
> From the 2023 standard I find:
>
> "The keyword INTEGER with no kind-selector specifies type integer with
> default kind; the kind type parameter val
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
--- Comment #7 from Jerry DeLisle ---
>From the 2023 standard I find:
"The keyword INTEGER with no kind-selector specifies type integer with default
kind; the kind type parameter value is equal to KIND (0). The decimal exponent
range of default
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
--- Comment #6 from Jerry DeLisle ---
The check is being done in interface.cc. The kind is being checked against
default_integer_kind.
case(2):/* UNIT */
type = BT_INTEGER;
kind = gfc_default
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
Jerry DeLisle changed:
What|Removed |Added
Status|WAITING |NEW
--- Comment #5 from Jerry DeLisle
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
--- Comment #4 from anlauf at gcc dot gnu.org ---
(In reply to Jerry DeLisle from comment #3)
> I just circled back on this one. If I modify the test case to explicitly
> define the interface to use integer(8) like this:
[...]
> SUBROUTINE my_wri
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
Jerry DeLisle changed:
What|Removed |Added
Status|NEW |WAITING
Severity|normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
Jerry DeLisle changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680
kargl at gcc dot gnu.org changed:
What|Removed |Added
CC||kargl at gcc dot gnu.org
---
13 matches
Mail list logo