re PR fortran/28384 (ICE on non-existent COMMON block)
authorPaul Thomas <pault@gcc.gnu.org>
Sun, 16 Jul 2006 15:01:59 +0000 (15:01 +0000)
committerPaul Thomas <pault@gcc.gnu.org>
Sun, 16 Jul 2006 15:01:59 +0000 (15:01 +0000)
commitb8ea6dbcbd1fb57226003df785bb0be84a0614f7
tree388dd87c2767bf52d5aa28790427ec7a5bbd6e9c
parent3e27aa84ef34539400456774ade5f2caaa20b5e9
re PR fortran/28384 (ICE on non-existent COMMON block)

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

PR fortran/28384
* trans-common.c (translate_common): If common_segment is NULL
emit error that common block does not exist.

PR fortran/20844
* io.c (check_io_constraints): It is an error if an ADVANCE
specifier appears without an explicit format.

PR fortran/28201
* resolve.c (resolve_generic_s): For a use_associated function,
do not search for an alternative symbol in the parent name
space.

PR fortran/20893
* resolve.c (resolve_elemental_actual): New function t combine
all the checks of elemental procedure actual arguments. In
addition, check of array valued optional args(this PR) has
been added.
(resolve_function, resolve_call): Remove parts that treated
elemental procedure actual arguments and call the above.

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

PR fortran/20844
* gfortran.dg/io_constaints_2.f90: Add the test for ADVANCE
specifiers requiring an explicit format tag..

PR fortran/28201
* gfortran.dg/generic_5: New test.

PR fortran/20893
* gfortran.dg/elemental_optional_args_1.f90: New test.

From-SVN: r115499
gcc/fortran/ChangeLog
gcc/fortran/io.c
gcc/fortran/resolve.c
gcc/fortran/trans-common.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/elemental_optional_args_1.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/generic_5.f90 [new file with mode: 0644]
gcc/testsuite/gfortran.dg/io_constraints_2.f90