- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[bash]integer :: k character(:), allocatable :: str k = 15 str = "Now is the time to go the party" print *, "text = ", str(1:k) [/bash]That works and prints as expected, but I get garbage in the Watch window when I attempt to look at substrings like str(1:k) or str(1:15).
str(:) and str(1:) work fine.
Is this a known bug?
...fcompxe_2011.7.258
Link Copied
6 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
David,
I have reproduced the bug you are seeing with allocatable arrays and have reported it to engineering as: DPD200177119. I will update when we have a compiler that resolves it or if it was already a known problem.
I have reproduced the bug you are seeing with allocatable arrays and have reported it to engineering as: DPD200177119. I will update when we have a compiler that resolves it or if it was already a known problem.
------
Wendy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found out from engineering this is a known problem which will be fixed in the next major release of our compiler due out next year.
------
Wendy
Attaching or including files in a post
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it an MBCS / UNICODE related problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
No just related to how the strings where specified.
------
Wendy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This does not appear to have been fixed in 2013.0.089.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Engineering has confirmed this is fixed only in Microsoft VS 2012 in the first relase of the 13.0 compiler just released. Will update this thread when it isavailable in 2008 and 2010 in a future update.
Wendy Doerner
Intel Developer Support
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