This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, fortran] PR25029 - Assumed size array can be associated with array pointer without upper bound of last dimension
- From: Paul Thomas <paulthomas2 at wanadoo dot fr>
- To: Tobias SchlÃter <tobias dot schlueter at physik dot uni-muenchen dot de>
- Cc: patch <gcc-patches at gcc dot gnu dot org>, "'fortran at gcc dot gnu dot org'" <fortran at gcc dot gnu dot org>
- Date: Thu, 22 Dec 2005 09:51:39 +0100
- Subject: Re: [Patch, fortran] PR25029 - Assumed size array can be associated with array pointer without upper bound of last dimension
- References: <43A52D44.8010301@wanadoo.fr> <43A56457.4000903@physik.uni-muenchen.de>
Tobi,
In committing this patch with that for the initialization, the
pre-commit regtest threw up an interaction between the two;
This line in initialization_1.f90 went from a warning to an error:
For an assumed size 2-D array, x,
integer :: m3 = size (x, 1) ! { dg-warning "Evaluation of nonstandard initialization" }
This is consistent with commercial compiler behaviour, but not quite correct. Since it is a slightly obscure corner of the standard, I have eliminated the line in the test and committed the patch as is. I will correct the condition that inhibits this line and will submit a patch tonight or tomorrow. Other than this one line in a new test, the regtest was OK. I hope that this is acceptable.
Paul