Module expert needed

FX fxcoudert@gmail.com
Tue Aug 4 12:37:00 GMT 2015


> Thanks! I didn’t realize the generic symbol was the issue. The attached patch sets sym->from_intmod for generic symbols, and fixes the issue. Does that approach seem OK to you?

Nope, I was optimistic. It doesn’t work if the symbol is used in intermediate modules:

module foo
  use ieee_arithmetic
  use ieee_exceptions
end module foo

module bar
  use foo
end module

program test
  use bar
  logical, parameter :: l2 = ieee_support_flag(ieee_overflow)
end



More information about the Fortran mailing list