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 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 -fdefault-integer-*, > where in the standard does it require *default integer* for the unit number? > Could it be integer(2)? If not, why not? > > I simply cannot find the text. > 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 with the DT edit descriptor.