- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I have run a memory analysis (the widest scope memory analysis type) via Inpsector XE 2013. It includes analysing of stack acceses, to cach uninitialized arrays/variables.
Attached is a PNG figure with the results.
Note the strange behavior in Polar_HUCM.F90 module, which imply there is uninitialized memory access in line 119. However, note that line 120 is identical in terms of using the same arrays and specifically the same part of the array being controlled by "kb" loop.
Am I missing something here ? Is there a more efficient way of checking for uninitialized variables/arrays?
Thanks for all your comments,
Jacob.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Once an uninitialized read has been reported for a variable, the memory is marked so that subsequent reads are not reported.
My guess is that it is reporting on 'bin_mass' in line 119. Since it was reported already, the read of that variable in line 120 will not be reported.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Mark,
Yes - your guess is reasonable.
Thanks for the information about marking the memory accesses only once.
My best,
Jacob.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page