2006-04-16 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Apr 2006 03:45:24 +0000 (03:45 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 16 Apr 2006 03:45:24 +0000 (03:45 +0000)
commit10b074327671ad5de7bf4500141137c31a9e4b8b
tree91336ea3d66ad4b06a4314c5493b7032adfe1c58
parentff674908556bf1469afd560b9ea1a96ab47e1b15
2006-04-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/26822
* intrinsic.c (add_functions): Mark LOGICAL as elemental.

PR fortran/26787
* expr.c (gfc_check_assign): Extend scope of error to include
assignments to a procedure in the main program or, from a
module or internal procedure that is not that represented by
the lhs symbol. Use VARIABLE rather than l-value in message.

PR fortran/27096
* trans-array.c (gfc_trans_deferred_array): If the backend_decl
is not a descriptor, dereference and then test and use the type.

PR fortran/25597
* trans-decl.c (gfc_trans_deferred_vars): Check if an array
result, is also automatic character length.  If so, process
the character length.

PR fortran/18803
PR fortran/25669
PR fortran/26834
* trans_intrinsic.c (gfc_walk_intrinsic_bound): Set
data.info.dimen for bound intrinsics.
* trans_array.c (gfc_conv_ss_startstride): Pick out LBOUND and
UBOUND intrinsics and supply their shape information to the ss
and the loop.

PR fortran/27124
* trans_expr.c (gfc_trans_function_call):  Add a new block, post,
in to which all the argument post blocks are put.  Add this block
to se->pre after a byref call or to se->post, otherwise.

2006-04-16  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/26787
* gfortran.dg/proc_assign_1.f90: New test.
* gfortran.dg/procedure_lvalue.f90: Change message.
* gfortran.dg/namelist_4.f90: Add new error.

PR fortran/27096
* gfortran.dg/auto_pointer_array_result_1.f90

PR fortran/27089
* gfortran.dg/specification_type_resolution_1.f90

PR fortran/18803
PR fortran/25669
PR fortran/26834
* gfortran.dg/bounds_temporaries_1.f90: New test.

PR fortran/27124
* gfortran.dg/array_return_value_1.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112981 138bc75d-0d04-0410-961f-82ee72b054a4
17 files changed:
gcc/fortran/ChangeLog
gcc/fortran/expr.c
gcc/fortran/intrinsic.c
gcc/fortran/resolve.c
gcc/fortran/trans-array.c
gcc/fortran/trans-decl.c
gcc/fortran/trans-expr.c
gcc/fortran/trans-intrinsic.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/array_return_value_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/auto_char_pointer_array_result_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/auto_pointer_array_result_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/bounds_temporaries_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/namelist_4.f90
gcc/testsuite/gfortran.dg/proc_assign_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/procedure_lvalue.f90
gcc/testsuite/gfortran.dg/specification_type_resolution_1.f90 [new file with mode: 0644]