- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Consider the following test program:
program test
implicit none
call bmad_parserx ()
end program!------------------------------
subroutine bmad_parserx ()
implicit none
integer zzz, kk
zzz = 2
call parser_end_stuff (.false.)
print *, zzz!------------
containssubroutine parser_end_stuff (do_dealloc)
logical, optional :: do_dealloc
integer i, j
zzz = 7
end subroutine parser_end_stuffend subroutine bmad_parserx
Compiling with debug "ifort -g test.f90 and then looking at the dwarf debug info gives:
> readelf -w a.out |grep DW_AT_name
<10> DW_AT_name : (indirect string, offset: 0x22): test.f90
<35> DW_AT_name : (indirect string, offset: 0x9d): test
<4f> DW_AT_name : (indirect string, offset: 0xa2): bmad_parserx
<6a> DW_AT_name : kk
<78> DW_AT_name : (indirect string, offset: 0xba): parser_end_stuff
<97> DW_AT_name : (indirect string, offset: 0xd6): do_dealloc
<a2> DW_AT_name : j
<ae> DW_AT_name : i
<bc> DW_AT_name : (indirect string, offset: 0xaf): INTEGER(4)
<c3> DW_AT_name : (indirect string, offset: 0xcb): LOGICAL(4)
DW_AT_name DW_FORM_strp
DW_AT_name DW_FORM_strp
DW_AT_name DW_FORM_strp
DW_AT_name DW_FORM_string
DW_AT_name DW_FORM_strp
DW_AT_name DW_FORM_strp
DW_AT_name DW_FORM_strp
The debug information for the variable "zzz" is missing which means that it is not possible to look at the value of zzz with a debugger. Is there any way around this? I am using ifort version 19.0.1.144 20181018.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One year later and latest version of ifort 19.1.1.217 still has the bug. Anyone have any idea when this will be addressed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you reported this using the Online Service Center? Just posting here isn't a reliable way of bringing problems to Intel's attention.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes it has been reported directly to Intel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good - you can use that to ask for updates.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page