2006-04-03 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Apr 2006 04:20:57 +0000 (04:20 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 3 Apr 2006 04:20:57 +0000 (04:20 +0000)
commitbd24f1786770f64eda7c2c6b60cdcf8a2e9d5e5f
tree2c807f9c4b8161c106bc907ae90fd1bf5e28296d
parent535664e3ad516768f57ba0112323411554854745
2006-04-03  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/26981
* trans.h : Prototype for gfc_conv_missing_dummy.
* trans-expr (gfc_conv_missing_dummy): New function
(gfc_conv_function_call): Call it and tidy up some of the code.
* trans-intrinsic (gfc_conv_intrinsic_function_args): The same.

PR fortran/26976
* array.c (gfc_array_dimen_size): If available, return shape[dimen].
* resolve.c (resolve_function): If available, use the argument shape for the
function expression.
* iresolve.c (gfc_resolve_transfer): Set shape[0] = size.

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

PR fortran/26981
* gfortran.dg/missing_optional_dummy_1.f90: New test.

PR fortran/26976
* gfortran.dg/compliant_elemental_intrinsics_1.f90: New test.
* gfortran.dg/initialization_1.f90: Make assignment compliant.
* gfortran.dg/transfer_array_intrinsic_1.f90: Simplify.
* gfortran.dg/transfer_array_intrinsic_2.f90: Make assignments compliant and detect
bigendian-ness.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112634 138bc75d-0d04-0410-961f-82ee72b054a4
13 files changed:
gcc/fortran/ChangeLog
gcc/fortran/array.c
gcc/fortran/iresolve.c
gcc/fortran/resolve.c
gcc/fortran/trans-expr.c
gcc/fortran/trans-intrinsic.c
gcc/fortran/trans.h
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/compliant_elemental_intrinsics_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/initialization_1.f90
gcc/testsuite/gfortran.dg/missing_optional_dummy_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/transfer_array_intrinsic_1.f90
gcc/testsuite/gfortran.dg/transfer_array_intrinsic_2.f90