aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/libgfortran.h
diff options
context:
space:
mode:
authorJerry DeLisle <jvdelisle@gcc.gnu.org>2008-06-15 20:02:58 +0000
committerJerry DeLisle <jvdelisle@gcc.gnu.org>2008-06-15 20:02:58 +0000
commita9608b5743857c8e672f5e6437c25cf41a63c0cb (patch)
tree7dab0a0f3b00357fe532baef7d039ca7f882b94c /libgfortran/libgfortran.h
parenta60658ba410d209fa8d1943af3f12129d4ca4f08 (diff)
downloadgcc-a9608b5743857c8e672f5e6437c25cf41a63c0cb.zip
gcc-a9608b5743857c8e672f5e6437c25cf41a63c0cb.tar.gz
gcc-a9608b5743857c8e672f5e6437c25cf41a63c0cb.tar.bz2
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
Diffstat (limited to 'libgfortran/libgfortran.h')
-rw-r--r--libgfortran/libgfortran.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgfortran/libgfortran.h b/libgfortran/libgfortran.h
index 8c0f1b4..10439bd 100644
--- a/libgfortran/libgfortran.h
+++ b/libgfortran/libgfortran.h
@@ -477,6 +477,7 @@ typedef struct
size_t record_marker;
int max_subrecord_length;
int bounds_check;
+ int range_check;
}
compile_options_t;