- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The ASSOCIATE feature seems to work fine with about everything else, so it seems that the deferred-length character feature needs at least another compiler iteration. The following illustrates the problem:
[fortran]implicit none
type :: t1
character(:), allocatable :: c1
end type
type (t1) :: t
t%c1 = '*'
print*,'c=',t%c1
associate (c1 => t%c1)
print*,'c=',c1
end associate
end[/fortran]
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks - we have a previous report of this issue which we are working on. The issue ID is DPD200172824.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I expect the fix for this problem to be in a release later this year.
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