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: Mark PR 20406 as WONTFIX?


On Tue, Jul 19, 2005 at 08:40:16PM +0200, Thomas Koenig wrote:
> Hi,
> 
> I'd like to mark PR 20406 as WONTFIX, because
> 
> - testing with SIZE weither an array is allocated is undefined
> 
> - The test fails for the reference compiler (ifort 8.1) after
>   deallocation.
> 
> Any objections?

Hmm, this is really a pretty minor feature IMHO, but anyway. I think
the best course of action would be to print an error message and abort
the program. IMHO trying to get the SIZE() of an unallocated array is
a sympton of a bug; if SIZE doesn't catch it I guess it will just mean
that the program fails in some other, perhaps not so obvious, way.


-- 
Janne Blomqvist


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