[Patch, gfortran] Fix for PR 12703.
Toon Moene
toon@moene.indiv.nluug.nl
Wed Oct 29 21:26:00 GMT 2003
Fortran 90/95 and onwards allow zero-sized objects, so we should allow
allocating them.
Fixes PR 12703, but not 12704, which shows, among other things, that
MAXLOC doesn't work for zero-sized arrays.
The patch below was tested on powerpc-unknown-linux-gnu (bootstrap C and
f95, make -k check of f95 test suite only).
OK to apply ?
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
Maintainer, GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://gcc.gnu.org/fortran/ (under construction)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12703.patch
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20031029/ad101e2b/attachment.ksh>
More information about the Fortran
mailing list