transfer of allocation status of zero sized tr18581 components on assignment
Tobias Burnus
burnus@net-b.de
Mon Dec 12 11:04:00 GMT 2011
On 12/12/2011 11:42 AM, Alexei Matveev wrote:
> I assume it makes no sense to report a bug against 4.3.2 (Debian Lenny)
> anymore? The program prints "F" for false, though the newer version of Gfortran
> and Intel compiler correctly print "T". What would be a "future proof" workaround for this bug? I have to stick to Debian Lenny for some time.
Well, you can do:
* Use gfortran 4.4 (or later)
* Backport the fix yourself and recompile GCC 4.3
* Allocate an array of size 1 even if you only need one of size 0 - or
create other workarounds
Regarding the first choice, you could backporting/installing the
Squeeze(stable) package. It should be possible to install it parallel to
the system GCC 4.3 compiler. Alternatively, you could compile a newer
GCC yourself or install a binary in your home directory, cf.
http://gcc.gnu.org/wiki/GFortranBinaries
I think it does not make sense for us to provide an update for 4.3,
which is no longer officially supported. Additionally, even if we had a
patch, Debian would also need to provide updated packages, which is
unlikely for Debian oldstable. [Currently maintained GCC versions:
4.4.6, 4.5.3, 4.6.2 and the current developer version 4.7, which will be
released around March 2012.]
Sorry for not offering a better alternative.
Tobias
More information about the Fortran
mailing list