diff options
author | Paul Thomas <pault@gcc.gnu.org> | 2006-06-07 07:20:39 +0000 |
---|---|---|
committer | Paul Thomas <pault@gcc.gnu.org> | 2006-06-07 07:20:39 +0000 |
commit | 0e9a445b9dfd754aec9bf53ce906c493f6b74d26 (patch) | |
tree | eeff6ac2359b106d08f0028ad7aec90547a5e62c /depcomp | |
parent | d95c1c488a438af4c077b2f8eb1e940199e98e59 (diff) | |
download | gcc-0e9a445b9dfd754aec9bf53ce906c493f6b74d26.zip gcc-0e9a445b9dfd754aec9bf53ce906c493f6b74d26.tar.gz gcc-0e9a445b9dfd754aec9bf53ce906c493f6b74d26.tar.bz2 |
re PR fortran/23091 (ICE in gfc_trans_auto_array_allocation)
2006-06-07 Paul Thomas <pault@gcc.gnu.org>
PR fortran/23091
* resolve.c (resolve_fl_variable): Error if an automatic
object has the SAVE attribute.
PR fortran/24168
* expr.c (simplify_intrinsic_op): Transfer the rank and
the locus to the simplified expression.
PR fortran/25090
PR fortran/25058
* gfortran.h : Add int entry_id to gfc_symbol.
* resolve.c : Add static variables current_entry_id and
specification_expr.
(resolve_variable): During code resolution, check if a
reference to a dummy variable in an executable expression
is preceded by its appearance as a parameter in an entry.
Likewise check its specification expressions.
(resolve_code): Update current_entry_id on EXEC_ENTRY.
(resolve_charlen, resolve_fl_variable): Set and reset
specifiaction_expr.
(is_non_constant_shape_array): Do not return on detection
of a variable but continue to resolve all the expressions.
(resolve_codes): set current_entry_id to an out of range
value.
2006-06-07 Paul Thomas <pault@gcc.gnu.org>
PR fortran/23091
* gfortran.dg/saved_automatic_1.f90: New test.
PR fortran/24168
* gfortran.dg/array_simplify_1.f90: New test.
PR fortran/25090
* gfortran.dg/entry_dummy_ref_1.f90: New test.
PR fortran/25058
* gfortran.dg/entry_dummy_ref_2.f90: New test.
From-SVN: r114461
Diffstat (limited to 'depcomp')
0 files changed, 0 insertions, 0 deletions