Bogus "is used uninitialized" warnings
Steve Kargl
sgk@troutmask.apl.washington.edu
Tue Nov 3 18:58:00 GMT 2009
On Tue, Nov 03, 2009 at 06:30:06PM +0100, Dennis Wassel wrote:
>
> Unless someones proves me wrong, it looks like a (minor) 4.4
> regression - shall I file a PR?
No. The problem seems to be fixed in trunk.
troutmask:sgk[260] gfc4x -o z -Wall tt.f90
troutmask:sgk[261] gfc4x -o z -Wall -O tt.f90
troutmask:sgk[262] gfc4x -o z -Wall -O2 tt.f90
troutmask:sgk[263] gfc4x -o z -Wall -O3 tt.f90
troutmask:sgk[264] gfortran44 -o z -Wall -O3 tt.f90
tt.f90: In function 'test1':
tt.f90:10: warning: 'j' is used uninitialized in this function
tt.f90: In function 'test2':
tt.f90:15: warning: 'i' is used uninitialized in this function
--
Steve
More information about the Fortran
mailing list