2006-06-25 Paul Thomas <pault@gcc.gnu.org>
authorpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Jun 2006 15:11:02 +0000 (15:11 +0000)
committerpault <pault@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 25 Jun 2006 15:11:02 +0000 (15:11 +0000)
commit94a286ff1917fb4cca0317ec46f13b263d5955be
treecf0741725bd30f57ea1e75a058f37946edac8691
parent70ed6de497ce6a9cce2e4accfeea226ba666da98
2006-06-25  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/25056
* interface.c (compare_actual_formal): Signal an error if the formal
argument is a pure procedure and the actual is not pure.

PR fortran/27554
* resolve.c (resolve_actual_arglist): If the type of procedure
passed as an actual argument is not already declared, see if it is
an intrinsic.

PR fortran/25073
* resolve.c (resolve_select): Use bits 1 and 2 of a new int to
keep track of  the appearance of constant logical case expressions.
Signal an error is either value appears more than once.

PR fortran/20874
* resolve.c (resolve_fl_procedure): Signal an error if an elemental
function is not scalar valued.

PR fortran/20867
* match.c (recursive_stmt_fcn): Perform implicit typing of variables.

PR fortran/22038
* match.c (match_forall_iterator): Mark new variables as
FL_UNKNOWN if the match fails.

PR fortran/28119
* match.c (gfc_match_forall): Remove extraneous call to
gfc_match_eos.

PR fortran/25072
* resolve.c (resolve_code, resolve_function): Rework
forall_flag scheme so that it is set and has a value of
2, when the code->expr (ie. the forall mask) is resolved.
This is used to change "block" to "mask" in the non-PURE
error message.

2006-06-25  Paul Thomas  <pault@gcc.gnu.org>

PR fortran/20867
* gfortran.dg/stfunc_3.f90: New test.

PR fortran/25056
* gfortran.dg/impure_actual_1.f90: New test.

PR fortran/20874
* gfortran.dg/elemental_result_1.f90: New test.

PR fortran/25073
* gfortran.dg/select_7.f90: New test.

PR fortran/27554
* intrinsic_actual_1.f: New test.

PR fortran/22038
PR fortran/28119
* gfortran.dg/forall_4.f90: New test.

PR fortran/25072
* gfortran.dg/forall_5.f90: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114987 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/fortran/ChangeLog
gcc/fortran/interface.c
gcc/fortran/match.c
gcc/fortran/resolve.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/elemental_result_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/forall_4.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/forall_5.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/impure_actual_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/intrinsic_actual_1.f [new file with mode: 0644]
gcc/testsuite/gfortran.dg/select_7.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/stfunc_3.f90 [new file with mode: 0644]