gcc/libgfortran/runtime
Thomas Koenig 18fe404fbc re PR fortran/30814 (non-conforming array sizes in PACK should raise an error)
2007-07-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/30814
	* trans-decl.c (generate_function_code):  Add argument
	for flag_bounds_check to the array for set_options.
	* invoke.texi:  Mention that some checks require
	-fbounds-check to be set during compilation of the
	main program.

2007-07-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/30814
	* libgfortran.h:  Add bounds_check to compile_options_t.
	* runtime/compile_options.c (set_options):  Add handling
	of compile_options.bounds_check.
	* intrinsics/pack_generic.c (pack_internal):  Also determine
	the number of elements if compile_options.bounds_check is
	true.  Raise runtime error if a different array shape is
	detected.

2007-07-24  Thomas Koenig  <tkoenig@gcc.gnu.org>

	PR fortran/30814
	* gfortran.dg/pack_bounds_1.f90:  New test case.

From-SVN: r126866
2007-07-24 05:52:44 +00:00
..
backtrace.c re PR libfortran/32495 (static declaration of 'strcasestr' follows non-static declaration) 2007-06-25 17:21:46 +00:00
compile_options.c re PR fortran/30814 (non-conforming array sizes in PACK should raise an error) 2007-07-24 05:52:44 +00:00
environ.c re PR fortran/31917 ([4.1 only] GFORTRAN_CONVERT_UNIT is ignored) 2007-05-17 10:39:32 +02:00
error.c re PR libfortran/32456 (IO error message should show Unit/Filename) 2007-06-24 22:56:21 +00:00
fpu.c
in_pack_generic.c
in_unpack_generic.c
main.c main.c (please_free_exe_path_when_done): New variable. 2007-04-19 11:01:15 +00:00
memory.c Fortran frontend: 2007-07-03 19:50:05 +03:00
pause.c
select.c
stop.c
string.c string.c (compare0): Use gfc_charlen_type instead of int. 2007-05-27 00:15:22 +03:00