Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Viewing module variables in /O3

jimdempseyatthecove
Honored Contributor III
520 Views

This seems to be a new debugging quirk (VS 2010 with IVF V15 Update 1)

I have a module that defines a user defined type:

module  MOD_HOST
    type TypeHOST
      ...
    end type TypeHOST
    type(TypeHOST), target :: HOST
end module  MOD_HOST

I then have a different source file compiled with /O3 that uses MOD_HOST.

The debugger (VS 2010) now complains that it cannot view a register variable when attempting to view HOST.

In earlier versions of IVF, with this source file compiled with /O3, the debugger could resolve the symbolic address.

Attempt of viewing

MOD_HOST::HOST

Shows an address, but not as a user defined type (cannot explore the variable).

Same with trying to examine

MOD_HOST_MP_HOST

Jim Demspey

 

0 Kudos
1 Reply
Steven_L_Intel1
Employee
520 Views

I can't reproduce this based on what you provided. Please attach a ZIP of a small project that demonstrates the problem.

0 Kudos
Reply