diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2007-09-05 13:34:25 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2007-09-05 13:34:25 +0000 |
commit | a99288e554007c0ac5ecfdc7733de19f1a1965dc (patch) | |
tree | cec6ce2218b24f0fa23d3e5fe993d76ef4a2d9e7 /gcc/web.c | |
parent | 8e4bf5c78280d8a41ff53c09e73796fda078c278 (diff) | |
download | gcc-a99288e554007c0ac5ecfdc7733de19f1a1965dc.zip gcc-a99288e554007c0ac5ecfdc7733de19f1a1965dc.tar.gz gcc-a99288e554007c0ac5ecfdc7733de19f1a1965dc.tar.bz2 |
re PR fortran/31564 (Error: Type/rank mismatch in argument)
2007-09-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31564
* primary.c (gfc_match_rvalue): Make expressions that refer
to derived type parameters that have array references into
variable expressions. Remove references to use association
from the symbol.
PR fortran/33241
* decl.c (add_init_expr_to_sym): Provide assumed character
length parameters with the length of the initialization
expression, if a constant, or that of the first element of
an array.
2007-09-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/31564
* gfortran.dg/derived_comp_array_ref_2.f90: New test.
PR fortran/33241
* gfortran.dg/char_length_10.f90: New test.
From-SVN: r128130
Diffstat (limited to 'gcc/web.c')
0 files changed, 0 insertions, 0 deletions