gcc/gcc/fortran
Francois-Xavier Coudert d16b57dfef re PR fortran/28129 (gfortran -fbounds-check: Shows invalid array out of bounds error)
PR fortran/28129

	* trans-array.c (gfc_trans_array_bound_check): Add a locus
	argument, and use it in the error messages.
	(gfc_conv_array_index_offset): Donc perform bounds checking on
	the last dimension of assumed-size arrays.

	* gfortran.dg/bounds_check_4.f90: New test.

From-SVN: r115231
2006-07-06 20:37:36 +00:00
..
ChangeLog re PR fortran/28129 (gfortran -fbounds-check: Shows invalid array out of bounds error) 2006-07-06 20:37:36 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
Make-lang.in Makefile.in: Rename to htmldir to build_htmldir to avoid installing during build. 2006-06-06 10:15:12 +00:00
arith.c re PR fortran/19310 ([4.1 Only] unnecessary error for overflowing results) 2006-06-18 06:36:45 +00:00
arith.h
array.c re PR fortran/28174 (Corruption of multiple character arrays when passing array sections) 2006-07-04 20:15:52 +00:00
bbt.c
check.c intrinsic.c (add_subroutines): Add ITIME and IDATE. 2006-07-04 11:39:46 +00:00
config-lang.in
convert.c
data.c data.c (gfc_assign_data_value): Fix comment typo. 2006-06-05 19:50:05 +00:00
decl.c decl.c (match_old_style_init): Add data attribute to symbol. 2006-07-03 20:19:23 +00:00
dependency.c re PR fortran/25746 (Elemental assignment gives wrong result) 2006-05-21 07:35:05 +00:00
dependency.h
dump-parse-tree.c re PR fortran/27552 (-fdump-parse-tree doesn't like Holleriths (but then, who does?)) 2006-05-18 02:31:41 +00:00
error.c
expr.c re PR fortran/25049 (TRANSPOSE not allowed in initialisation expression) 2006-06-20 04:30:48 +00:00
f95-lang.c re PR fortran/27916 (Problem with allocatable arrays inside OpenMP do loop) 2006-06-09 23:18:42 +02:00
gfortran.h re PR fortran/28174 (Corruption of multiple character arrays when passing array sections) 2006-07-04 20:15:52 +00:00
gfortran.texi gfortran.texi (@dircategory): Use "Software development" instead of "Programming"... 2006-06-17 23:22:05 +00:00
gfortranspec.c
interface.c re PR fortran/20892 (dummy procedure can't be generic) 2006-07-05 15:22:26 +00:00
intrinsic.c intrinsic.c (add_subroutines): Add ITIME and IDATE. 2006-07-04 11:39:46 +00:00
intrinsic.h intrinsic.c (add_subroutines): Add ITIME and IDATE. 2006-07-04 11:39:46 +00:00
intrinsic.texi intrinsic.c (add_subroutines): Add ITIME and IDATE. 2006-07-04 11:39:46 +00:00
invoke.texi re PR fortran/19310 ([4.1 Only] unnecessary error for overflowing results) 2006-06-18 06:36:45 +00:00
io.c re PR fortran/27634 (formatted reading/writing: real format without dot) 2006-05-29 19:33:43 +00:00
ioparm.def
iresolve.c intrinsic.c (add_subroutines): Add ITIME and IDATE. 2006-07-04 11:39:46 +00:00
lang-specs.h re PR fortran/23862 (Select Fortran source form appropriately for "-pipe") 2006-06-24 16:06:28 +00:00
lang.opt re PR fortran/19310 ([4.1 Only] unnecessary error for overflowing results) 2006-06-18 06:36:45 +00:00
match.c re PR fortran/25056 (non-PURE function should not be a valid argument) 2006-06-25 15:11:02 +00:00
match.h
matchexp.c re PR fortran/25090 (Bad automatic character length) 2006-05-15 17:16:26 +00:00
mathbuiltins.def
misc.c
module.c re PR fortran/27269 (Segfault with EQUIVALENCEs in modules together with ONLY clauses) 2006-05-02 14:13:17 +00:00
openmp.c
options.c re PR fortran/19310 ([4.1 Only] unnecessary error for overflowing results) 2006-06-18 06:36:45 +00:00
parse.c re PR fortran/19259 (";" as first nonblank character on a line should be an error) 2006-07-01 17:03:30 +02:00
parse.h
primary.c re PR fortran/24748 (substring of implicitly typed variable not rejected) 2006-06-22 18:30:18 +00:00
resolve.c re PR fortran/28174 (Corruption of multiple character arrays when passing array sections) 2006-07-04 20:15:52 +00:00
scanner.c data.c (gfc_assign_data_value): Handle USE_MAPPED_LOCATION. 2006-06-01 09:18:34 -07:00
simplify.c simplify.c (gfc_simplify_rrspacing): Initialize and clear mpfr_t variable. 2006-06-20 17:49:41 +00:00
st.c re PR fortran/25746 (Elemental assignment gives wrong result) 2006-05-21 07:35:05 +00:00
symbol.c re PR fortran/14067 (no warning when character data statement overflows declared size) 2006-06-05 07:45:03 +00:00
trans-array.c re PR fortran/28129 (gfortran -fbounds-check: Shows invalid array out of bounds error) 2006-07-06 20:37:36 +00:00
trans-array.h trans-array.h (gfc_trans_create_temp_array): Add bool argument. 2006-06-15 10:30:09 +00:00
trans-common.c options.c, [...]: Fix typos in error messages. 2006-05-29 05:19:37 +00:00
trans-const.c re PR fortran/19310 ([4.1 Only] unnecessary error for overflowing results) 2006-06-18 06:36:45 +00:00
trans-const.h trans.c (gfc_msg_bounds, [...]): Add strings for common runtime error messages. 2006-06-03 17:28:33 +00:00
trans-decl.c trans-expr.c (gfc_conv_missing_dummy, [...]): Replace calls to convert on constant integer nodes by build_int_cst. 2006-06-21 20:44:31 +00:00
trans-expr.c re PR fortran/28174 (Corruption of multiple character arrays when passing array sections) 2006-07-04 20:15:52 +00:00
trans-intrinsic.c re PR fortran/28094 (Modulo of real(kind=10) variables doesn't work) 2006-06-24 08:27:32 +00:00
trans-io.c trans-expr.c (gfc_conv_missing_dummy, [...]): Replace calls to convert on constant integer nodes by build_int_cst. 2006-06-21 20:44:31 +00:00
trans-openmp.c re PR fortran/27916 (Problem with allocatable arrays inside OpenMP do loop) 2006-06-09 23:18:42 +02:00
trans-stmt.c re PR fortran/27874 (Bad interaction between bounds checking, forall and derived types) 2006-07-06 17:12:25 +00:00
trans-stmt.h re PR fortran/25746 (Elemental assignment gives wrong result) 2006-05-21 07:35:05 +00:00
trans-types.c check.c, [...]: Fix comment typos. 2006-05-28 17:56:58 +00:00
trans-types.h
trans.c trans.c (gfc_msg_bounds, [...]): Add strings for common runtime error messages. 2006-06-03 17:28:33 +00:00
trans.h re PR fortran/27916 (Problem with allocatable arrays inside OpenMP do loop) 2006-06-09 23:18:42 +02:00
types.def