Bug ID: 84509
Summary: STOP and PAUSE statements with -fdefault-integer-8 and
large stop code
Assignee: unassigned at gcc dot gnu.org
Reporter: jb at gcc dot gnu.org
CC: marxin at gcc dot gnu.org
Target Milestone: ---
Consider the program
! compile with -fdefault-integer-8
end program test
Compiling this with -fdefault-integer-8 and running it results in
This is because the value is larger than 2**31-1 and is typecasted to an
INTEGER(kind=4) before calling the stop function in libgfortran.
The same happens for the ERROR STOP and PAUSE statements as well.
(Not sure this is actually worth fixing since with -fdefault-integer-8 we're
throwing standards conformance out of the window anyway)