Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
26740 Discussions

Different Behaviors in GENERIC entities

Blane_J_
New Contributor I
110 Views

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 Kudos
2 Replies
FortranFan
Honored Contributor II
110 Views

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_
New Contributor I
110 Views

I'll do it. Thanks FortranFan.

Reply