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 gcc: 2011-06-03 17:36:21 +00:00
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 re PR fortran/33197 (Fortran 2008: math functions) 2009-07-25 21:39:07 +02:00
ChangeLog PR 52428 Range checking when reading integer values. 2012-05-14 22:39:23 +03:00
ChangeLog-2002 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2003 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2004 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2005 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2006 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2007 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2008 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2009 ChangeLog-2002: Add copyright footer. 2010-01-04 09:59:59 +01:00
ChangeLog-2010 Rotate ChangeLogs. 2011-01-02 08:22:05 -08:00
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 PR 48977 Denormal exception on glibc targets 2011-05-20 17:45:51 +03:00
fmain.c Add comment saying file is deprecated 2009-08-14 20:54:27 +03:00
gfortran.map re PR libfortran/47757 (Unintentionally? not exported _gfortran_* symbols in libgfortran.so.3) 2011-02-16 18:18:41 +01:00
kinds-override.h re PR fortran/32049 (Support on x86_64 also kind=16) 2010-11-16 22:23:19 +01:00
libgfortran.h PR 52428 Range checking when reading integer values. 2012-05-14 22:39:23 +03:00
libgfortran.spec.in re PR fortran/32049 (Support on x86_64 also kind=16) 2010-11-16 22:23:19 +01:00
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 re PR fortran/32049 (Support on x86_64 also kind=16) 2010-11-16 22:23:19 +01:00
mk-sik-inc.sh
mk-srk-inc.sh intrinsic.h (gfc_check_selected_real_kind, [...]): Update prototypes. 2010-06-25 21:40:37 +02:00