This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Mark PR 20406 as WONTFIX?
- From: Janne Blomqvist <jblomqvi at cc dot hut dot fi>
- To: Thomas Koenig <Thomas dot Koenig at online dot de>
- Cc: fortran at gcc dot gnu dot org
- Date: Tue, 19 Jul 2005 22:52:12 +0300
- Subject: Re: Mark PR 20406 as WONTFIX?
- References: <20050719184016.GA13152@meiner.onlinehome.de>
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