- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The following program compiled with ifort 13.0.1 20121010 returns "T F". Shouldn't the result be "F F"?
program assoc
type :: abc
end type abc
class(abc), pointer :: p
p => p_new()
print *, associated(p), associated(p_new())
contains
function p_new()
type(abc), pointer :: p_new
nullify(p_new)
end function p_new
end program assoc
Best,
Paweł Biernat
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are correct - ASSOCIATED is not returning the right result here. I have escalated this as issue DPD200238262 and will let you know of any progress.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I expect the fix for this to appear in Update 3.

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