This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch, fortran,committed] fix build (was: Re: [patch, fortran] Fix PR 30814, bounds checking for pack)
Hallo Andreas, hi all,
Andreas Schwab wrote:
>> + * libgfortran.h: Add bounds_check to compile_options_t.
>>
> This is missing.
>
>> Index: gcc/fortran/ChangeLog
>>
> Wrong changelog.
>
Thanks for proof reading. I checked the following patch in (r126877),
which should allow gfortran to build again.
Tobias
Index: gcc/fortran/ChangeLog
===================================================================
--- gcc/fortran/ChangeLog (revision 126875)
+++ gcc/fortran/ChangeLog (working copy)
@@ -1,13 +1,10 @@
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.
+ * trans-decl.c (generate_function_code): Add argument
+ for flag_bounds_check to the array for set_options.
+ * invoke.texi (-fbounds-check): Document new library run-time
+ behaviour.
2007-07-23 Daniel Franke <franke.daniel@gmail.com>
Index: libgfortran/ChangeLog
===================================================================
--- libgfortran/ChangeLog (revision 126875)
+++ libgfortran/ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2007-07-24 Tobias Burnus <burnus@net-b.de>
+
+ * libgfortran.h: Add bounds_check to compile_options_t.
+
2007-07-24 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/30814
Index: libgfortran/libgfortran.h
===================================================================
--- libgfortran/libgfortran.h (revision 126875)
+++ libgfortran/libgfortran.h (working copy)
@@ -385,6 +385,7 @@
int sign_zero;
size_t record_marker;
int max_subrecord_length;
+ int bounds_check;
}
compile_options_t;
- References:
- [patch, fortran] Fix PR 30814, bounds checking for pack
- Re: [patch, fortran] Fix PR 30814, bounds checking for pack
- Re: [patch, fortran] Fix PR 30814, bounds checking for pack
- Re: [patch, fortran] Fix PR 30814, bounds checking for pack
- Re: [patch, fortran] Fix PR 30814, bounds checking for pack
- Re: [patch, fortran] Fix PR 30814, bounds checking for pack
- Re: [patch, fortran] Fix PR 30814, bounds checking for pack