gcc/gcc/fortran
Thomas Koenig 3e94065c61 re PR fortran/31732 (Assignment to array slice affects whole array)
2007-05-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/31732
	* dependency.c (gfc_full_array_ref_p):  If the reference is
	to a single element, check that the array has a single
	element and that the correct element is referenced.

2007-05-01  Thomas Koenig  <tkoenig@gcc.gnu.org>

        PR fortran/31732
	* gfortran.dg/array_memset_2:  New test case.

From-SVN: r124326
2007-05-01 13:11:36 +00:00
..
ChangeLog re PR fortran/31732 (Assignment to array slice affects whole array) 2007-05-01 13:11:36 +00:00
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006 Rotate ChangeLog. 2007-01-01 19:22:09 +00:00
Make-lang.in gfc-internals.texi: New file, 2007-03-26 17:41:27 -07:00
arith.c arith.c (gfc_arith_uplus): Rename to ... 2007-04-12 18:53:26 +02:00
arith.h arith.h: Update copyright years. 2007-04-17 15:33:31 +02:00
array.c re PR fortran/30514 ([4.1 only] zero-sized array wrongly rejected: integer :: i(1:-1)) 2007-02-03 13:38:42 +00:00
bbt.c [multiple changes] 2007-01-07 00:28:29 +00:00
check.c re PR fortran/31222 (Rejected: implicitly-typed dummys used in initialization expressions) 2007-04-07 20:20:49 +00:00
config-lang.in configure.ac (strict1_warn): Rename to strict_warn. 2007-01-11 10:49:30 +00:00
convert.c decl.c, [...]: Update Copyright dates. 2007-01-07 19:39:52 +00:00
data.c decl.c, [...]: Update Copyright dates. 2007-01-07 19:39:52 +00:00
decl.c re PR fortran/31204 (wrong host association of implied loop variable) 2007-04-15 15:28:06 +00:00
dependency.c re PR fortran/31732 (Assignment to array slice affects whole array) 2007-05-01 13:11:36 +00:00
dependency.h arith.h: Update copyright years. 2007-04-17 15:33:31 +02:00
dump-parse-tree.c decl.c, [...]: Update Copyright dates. 2007-01-07 19:39:52 +00:00
error.c re PR fortran/31668 (%VAL rejected for PROC_MODULE and PROC_INTERNAL procedures) 2007-04-25 10:32:21 +02:00
expr.c re PR fortran/29507 ([4.2 only] INDEX in an array initialization causes ICE) 2007-04-14 14:09:57 +00:00
f95-lang.c tree.h (GIMPLE_TUPLE_P): Also true for PHI_NODEs. 2007-04-21 13:40:31 -07:00
gfc-internals.texi gfc-internals.texi: Fix typos. 2007-04-15 14:28:43 +00:00
gfortran.h arith.h: Update copyright years. 2007-04-17 15:33:31 +02:00
gfortran.texi gfortran.texi: Cleaned up keyword index. 2007-04-29 06:49:08 -04:00
gfortranspec.c re PR other/31050 ([4.1] gcc --version reports wrong year.) 2007-03-05 23:35:28 -08:00
interface.c re PR fortran/30877 (Extending intrinsic operators) 2007-03-25 09:01:23 +00:00
intrinsic.c intrinsic.c (add_functions): Fixed ELEMENTAL specifications. 2007-05-01 05:12:29 -04:00
intrinsic.h re PR fortran/31257 (ICE in gfc_conv_expr_descriptor) 2007-04-07 20:29:13 +00:00
intrinsic.texi intrinsic.c (add_functions): Fixed ELEMENTAL specifications. 2007-05-01 05:12:29 -04:00
invoke.texi gfortran.texi: Cleaned up keyword index. 2007-04-29 06:49:08 -04:00
io.c Steven G. 2007-01-26 23:36:11 +00:00
ioparm.def re PR libfortran/30014 (INQUIRE (iolength = xx) limited to kind=4) 2006-12-28 01:39:15 +00:00
iresolve.c re PR fortran/31257 (ICE in gfc_conv_expr_descriptor) 2007-04-07 20:29:13 +00:00
iso-fortran-env.def module.c (gfc_use_module): Uncomment the ISO_FORTRAN_ENV code. 2006-11-19 21:18:26 +00:00
lang-specs.h arith.h: Update copyright years. 2007-04-17 15:33:31 +02:00
lang.opt * lang.opt: Minor edits to descriptions. 2007-03-26 14:35:20 -07:00
match.c re PR fortran/31204 (wrong host association of implied loop variable) 2007-04-15 15:28:06 +00:00
match.h re PR fortran/23232 ([4.1 only] DATA implied DO variables) 2007-01-05 14:45:20 +00:00
matchexp.c openmp.c, [...]: Next installment in the massive whitespace patch. 2007-01-20 22:01:41 +00:00
mathbuiltins.def
misc.c Fix a potential buffer overflow. 2007-02-14 20:02:39 +00:00
module.c module.c (module_char): Replace fgetc() with getc(). 2007-04-25 15:06:26 +03:00
openmp.c Makefile.in (libgcc-support, [...]): Add emutls.c. 2007-02-10 19:19:10 +00:00
options.c options.c (gfc_handle_option): Ensure requested free form line length is not too small. 2007-04-28 15:17:07 +02:00
parse.c re PR fortran/31293 (Implicit character and array returning functions) 2007-04-07 20:13:52 +00:00
parse.h arith.h: Update copyright years. 2007-04-17 15:33:31 +02:00
primary.c primary.c (match_integer_constant): Mention -fno-range-check in the error message. 2007-04-23 10:37:19 +02:00
resolve.c re PR fortran/31668 (%VAL rejected for PROC_MODULE and PROC_INTERNAL procedures) 2007-04-25 10:32:21 +02:00
scanner.c re PR fortran/31645 (Error on reading Byte Order Mark) 2007-04-29 10:45:57 +00:00
simplify.c re PR fortran/31591 (UBOUND as initialization expression (lacking simplification)) 2007-04-29 16:03:58 +00:00
st.c openmp.c, [...]: Next installment in the massive whitespace patch. 2007-01-20 22:01:41 +00:00
symbol.c arith.h: Update copyright years. 2007-04-17 15:33:31 +02:00
trans-array.c re PR fortran/31711 (was "rhs array is changed while assiging to same lhs array") 2007-04-29 05:10:22 +00:00
trans-array.h arith.h: Update copyright years. 2007-04-17 15:33:31 +02:00
trans-common.c arith.h: Update copyright years. 2007-04-17 15:33:31 +02:00
trans-const.c trans-const.c (gfc_conv_mpz_to_tree): Use mpz_get_double_int. 2007-04-30 12:17:59 -07:00
trans-const.h trans-const.c (gfc_conv_mpz_to_tree): Use mpz_get_double_int. 2007-04-30 12:17:59 -07:00
trans-decl.c trans-types.h (gfc_packed): New enum. 2007-04-17 20:47:19 +02:00
trans-expr.c re PR fortran/31630 (ICE on nasty derived types code) 2007-04-23 15:13:48 +00:00
trans-intrinsic.c re PR fortran/31304 (REPEAT argument NCOPIES is not converted as it should) 2007-04-03 21:05:14 +00:00
trans-io.c arith.h: Update copyright years. 2007-04-17 15:33:31 +02:00
trans-openmp.c arith.h: Update copyright years. 2007-04-17 15:33:31 +02:00
trans-stmt.c tree.h (enum tree_code_class): Add tcc_vl_exp. 2007-02-15 18:50:49 -05:00
trans-stmt.h [multiple changes] 2006-10-19 04:51:14 +00:00
trans-types.c trans-types.h (gfc_packed): New enum. 2007-04-17 20:47:19 +02:00
trans-types.h trans-types.h (gfc_packed): New enum. 2007-04-17 20:47:19 +02:00
trans.c arith.h: Update copyright years. 2007-04-17 15:33:31 +02:00
trans.h arith.h: Update copyright years. 2007-04-17 15:33:31 +02:00
types.def arith.h: Update copyright years. 2007-04-17 15:33:31 +02:00