All I want to do is allocate some memory the quick and dirty way :-(
I'm sorry I can't help you (I also don't understand why your approach doesn't work).
Do you really have to allocate (in the Fortran 90 sense) this array ? Is it used outside the routine it's allocated in ?
If not, you could use a automatic array (if you know the bounds at entry of the subroutine). Automatic arrays are supported by g77.
Hope this helps,
-- Toon Moene - mailto:toon@xxxxxxxxxxxxxxxxxxxx - 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)