https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96911

--- Comment #3 from zhen...@compiler-dev.com ---
(In reply to anlauf from comment #1)
> Error: Integer too big for its kind at (1). This check can be disabled with
> the option '-fno-range-check'
> 
> Why don't you read what gfortran is telling you, and acting appropriately?


The fact is -128 is surely not too big for integer(1). The below code is
compiled by gfortran and can print out -128 properly.
--------------------
program testint
      integer(1) :: x = -128
      print *, x
end
____________________

Reply via email to