This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Bug in USE statements?
- From: FX <fxcoudert at gmail dot com>
- To: Tom Cook <tom dot k dot cook at gmail dot com>
- Cc: gfortran <fortran at gcc dot gnu dot org>
- Date: Tue, 3 Mar 2015 09:36:19 +0100
- Subject: Re: Bug in USE statements?
- Authentication-results: sourceware.org; auth=none
- References: <CAFSh4Uyx5BGh0XSJhys1L5DagXYFbM35Lg3SgdYJDLmsQkpxUQ at mail dot gmail dot com> <D07B2AC6-E53F-478B-B2FC-C3C89A8C7BC3 at gmail dot com> <CAFSh4UyTFsV8+5JN8NhoMK6j6t9DbVUrRSw+04799NeN5sq2xQ at mail dot gmail dot com> <CAFSh4UxV9sV4Z0d9TEWPK15zBO0XMmFrjqGdLhOm81UdPNGOvQ at mail dot gmail dot com>
> I've confirmed that the bug still happens with -fcheck=all (I assume
> this is what you meant by -fruntime-check=all?)
Yes, thatâs what I meant. (I was answering from my iPhone in the bus, so I did it from memory.)
> Not all members of windseltype.15 are initialised - for instance, the
> member c_wmodel is just left uninitialised, which is presumably where
> the value I noted in my initial email comes from.
So, it looks like the scalar derived-type windseltype.15 / D.2159 variable is created, then used to initialize all four elements of the mowwsel array.
Can you show the code that defines the derived type? And initializes it?
Also: have you been able to rebuild with a newer version, or another compile altogether?
FX