re PR fortran/36515 (Integer read from stdin yields a value overflow for a valid...
authorJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 15 Jun 2008 20:02:58 +0000 (20:02 +0000)
committerJerry DeLisle <jvdelisle@gcc.gnu.org>
Sun, 15 Jun 2008 20:02:58 +0000 (20:02 +0000)
commita9608b5743857c8e672f5e6437c25cf41a63c0cb
tree7dab0a0f3b00357fe532baef7d039ca7f882b94c
parenta60658ba410d209fa8d1943af3f12129d4ca4f08
re PR fortran/36515 (Integer read from stdin yields a value overflow for a valid integer.)

2008-06-15  Jerry DeLisle  <jvdelisle@gcc.gnu.org>

PR fortran/36515
* libgfortran.h (compile_options_t): Add int range_check to structure.
* runtime/compile_options.c (set_options): Add range_check option.
(init_compile_options): Likewise.
*io/read.c (read_decimal): Change overflow checks to include
range_check.

From-SVN: r136822
libgfortran/ChangeLog
libgfortran/io/read.c
libgfortran/libgfortran.h
libgfortran/runtime/compile_options.c