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

Different Behaviors in GENERIC entities

Blane_J_
新貢獻者 I
738 檢視

The files attached is only different in INTERFACE block: operator.f90 is a generic operator while procedure.f90 is a generic procedure. Use-association in submodule block generates an error for procedure.f90 while the another is all right:

error #6580: Name in only-list does not exist or is not accessible.   [GETVALUE]

Is there any issue I didn't aware ? Thanks for help.

0 積分
2 回應
FortranFan
榮譽貢獻者 III
738 檢視

This looks like a bug in Intel Fortran compiler with SUBMODULEs and USE statements rather than any issue with the code.

I'll suggest submitting this at Intel OSC (https://supporttickets.intel.com/?lang=en-US) for the support staff to investigate.

Blane_J_
新貢獻者 I
738 檢視

I'll do it. Thanks FortranFan.

回覆