Open GoogleCodeExporter opened 9 years ago
I looked into quite a few of these. They all seem to be irrelevant and, in some
case, plain wrong. Like
a variable claimed to be uninitialized when it was read from input a few lines
earlier. Or a pointer
allocated in a subroutine A, used in a subroutine B contained in A, and claimed
to be used before
being allocated.
Original comment by simone.c...@gmail.com
on 2 Jan 2014 at 1:53
Revision d0226051e1a1 reduced number of warnings/errors to 97.
Original comment by iglovi...@gmail.com
on 2 Jan 2014 at 2:13
I agree. These warnings are not a big deal. Although I do not like warnings.
Usually:
[1] Some of these can be a hint of some bigger problem.
[2] Wrong or irrelevant warnings tell me that structure of the code is not as
good as it should be. (Parameters of the functions should be sent in some other
way, structures should be defined a bit different, etc)
It is usually something that people discuss at:
http://fortran90.org/src/best-practices.html
http://www.cs.rpi.edu/~szymansk/OOF90/bugs.html
For example in the last link they discuss approaches that can lead to some
potential bugs with examples, and I think I've seen similar things in the QUEST
source code. May be this Intel Static Analysis Tool, tries to point this out.
Anyway, this warning are not really that important, although I would be upset
if their number will start growing.
Original comment by iglovi...@gmail.com
on 2 Jan 2014 at 2:30
Revison cc56e18890a1 reduced number of warnings/errors to 95.
Original comment by iglovi...@gmail.com
on 7 Feb 2014 at 11:41
Original issue reported on code.google.com by
iglovi...@gmail.com
on 29 Dec 2013 at 2:37Attachments: