- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am wondering why uninit check does not detect uninit variable in the following program. Is there a way to detect such situations ?
PROGRAM UNINIT_FAILED
IMPLICIT NONE
INTEGER VAR
CALL DO_NOTHING(VAR)
VAR=VAR+0
print *, "VAR=", VAR
END
SUBROUTINE DO_NOTHING(MYVAR)
IMPLICIT NONE
INTEGER MYVAR
RETURN
END
Thank you very much for your help.
Thierry
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you very much for your help.
Thierry

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page