gcc/libgfortran
Janne Blomqvist 80b91c0b39 PR 52428 Range checking when reading integer values.
gcc/fortran ChangeLog:

2012-05-14  Janne Blomqvist  <jb@gcc.gnu.org>

	PR fortran/52428
	* gfortran.texi: Update _gfortran_set_options documentation.
	* invoke.texi: Remove runtime behavior description of
	-fno-range-check.
	* trans-decl.c (create_main_function): Don't pass the range-check
	setting to the library.


libgfortran ChangeLog:

2012-05-14  Janne Blomqvist  <jb@gcc.gnu.org>

	PR fortran/52428
	* io/io.h (max_value): Rename to si_max, remove second argument.
	* io/list_read.c (convert_integer): Use unsigned types when
	parsing the digits, set max value depending on the sign.
	* io/read.c (max_value): Rename to si_max, remove second argument,
	simplify.
	(read_decimal): Set max value depending on sign, always check
	overflow.
	(read_radix): Calculate max unsigned value directly.
	* libgfortran.h (struct compile_options_t): Remove range_check
	field.
	* runtime/compile_options.c (set_options): Skip handling
	options[7].
	(init_compile_options): Don't set removed field.


gcc/testsuite ChangeLog:

2012-05-14  Janne Blomqvist  <jb@gcc.gnu.org>

	PR fortran/52428
	* gfortran.dg/int_range_io_1.f90: New test.

From-SVN: r187478
2012-05-14 22:39:23 +03:00
..
caf 2012-01-06 Tobias Burnus <burnus@net-b.de> 2012-01-06 14:38:49 +01:00
config
generated cshift0.m4 (cshift0_'rtype_code`): Guard use of modulo. 2012-04-10 15:39:22 +00:00
intrinsics re PR fortran/53310 (EOSHIFT leaks memory) 2012-05-11 10:14:56 +02:00
io PR 52428 Range checking when reading integer values. 2012-05-14 22:39:23 +03:00
m4 cshift0.m4 (cshift0_'rtype_code`): Guard use of modulo. 2012-04-10 15:39:22 +00:00
runtime PR 52428 Range checking when reading integer values. 2012-05-14 22:39:23 +03:00
acinclude.m4 configure.ac: Use GCC_CHECK_MATH_FUNC for math functions. 2012-03-26 08:43:56 +00:00
aclocal.m4 configure.ac: Make more cross-compile friendly. 2011-11-09 18:17:57 +01:00
c99_protos.h
ChangeLog PR 52428 Range checking when reading integer values. 2012-05-14 22:39:23 +03:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011 2012-01-09 Richard Guenther <rguenther@suse.de> 2012-01-09 10:11:38 +00:00
config.h.in Fix handling of temporary files. 2012-05-05 09:30:51 +03:00
configure Fix handling of temporary files. 2012-05-05 09:30:51 +03:00
configure.ac Fix handling of temporary files. 2012-05-05 09:30:51 +03:00
configure.host
fmain.c
gfortran.map
kinds-override.h
libgfortran.h PR 52428 Range checking when reading integer values. 2012-05-14 22:39:23 +03:00
libgfortran.spec.in
libtool-version
Makefile.am Combined get_mem and internal_malloc_size. 2012-03-26 18:16:05 +03:00
Makefile.in Combined get_mem and internal_malloc_size. 2012-03-26 18:16:05 +03:00
mk-kinds-h.sh
mk-sik-inc.sh
mk-srk-inc.sh