This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch, fortran] PR25029 - Assumed size array can be associated with array pointer without upper bound of last dimension


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]