This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
What is the behavior the following program with your switch?
program parambug implicit none integer, parameter :: MY_KIND = SELECTED_INT_KIND(9) integer(MY_KIND), parameter :: X = -2147483648_MY_KIND write (*,*) X,",",MY_KIND write (*,*) ABS(X) end program parambug
-2147483648 , 4 -2147483648
-- Scott Robert Ladd Coyote Gulch Productions (http://www.coyotegulch.com) Software Invention for High-Performance Computing
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |