[patch, fortran] Fix PR 30814, bounds checking for pack

Andreas Schwab schwab@suse.de
Tue Jul 24 12:44:00 GMT 2007


Thomas Koenig <tkoenig@alice-dsl.net> writes:

> Hello world,
>
> here's what I committed (revision 126866).
>
> 	Thomas
>
>
> Index: libgfortran/ChangeLog
> ===================================================================
> --- libgfortran/ChangeLog	(revision 126865)
> +++ libgfortran/ChangeLog	(working copy)
> @@ -1,3 +1,14 @@
> +2007-07-24  Thomas Koenig  <tkoenig@gcc.gnu.org>
> +
> +	PR fortran/30814
> +	* libgfortran.h:  Add bounds_check to compile_options_t.

This is missing.

> Index: gcc/fortran/ChangeLog
> ===================================================================
> --- gcc/fortran/ChangeLog	(revision 126865)
> +++ gcc/fortran/ChangeLog	(working copy)
> @@ -1,3 +1,14 @@
> +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.

Wrong changelog.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-patches mailing list