[Bug fortran/108680] Wrong DTIO arguments with -fdefault-integer-8

2024-03-05 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108680

Jerry DeLisle  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
   Last reconfirmed||2024-03-06
   Assignee|unassigned at gcc dot gnu.org  |jvdelisle at gcc dot 
gnu.org
 Ever confirmed|0   |1
 CC||jvdelisle at gcc dot gnu.org

--- Comment #2 from Jerry DeLisle  ---
Taking a quick look at this one. Yes it handles -fdefault-integer-8
incorrectly. I agree with Steve in that this is not a Standard Fortran feature.
 The right way to allow changing kinds is to use a parameter defined with for
example select_integer_kind in a module or something and have that parameter
used everywhere. Obviously not conveniant.

Regardless even if one declares integer 8 everywhere, the vlist is screwed up.
Adding to my list.

[Bug fortran/108680] Wrong DTIO arguments with -fdefault-integer-8

2023-02-06 Thread kargl at gcc dot gnu.org via Gcc-bugs
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

--- Comment #1 from kargl at gcc dot gnu.org ---
I submitted a patch years ago to remove the -fdefault*
options, because these options have all sorts of problem.
The only compelling reason for these options is to allow
a user to compile code **while porting from INTEGER(4)
to INTEGER(8)**.  That patch was rejected.

-fdefault-integer-8 simply will not work with DTIO as 
it seems that there is no runtime library support.