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

Intel 14 and 15 compiler bug

Neil_Carlson
Beginner
277 Views

I've attached a very small example that exposes a bug in 14.0.3 and 15.0.2.  In the example, a module declares a derived type and a F2003 structure constructor for it.  In a later procedure the module is USEd and the type referenced, but the compiler complains incorrectly that the type is not known.  The error goes away if the structure constructor is not defined.

0 Kudos
2 Replies
Steven_L_Intel1
Employee
277 Views

Escalated as issue DPD200371229. The error also goes away, oddly enough, if you remove the call to "bar" from the subroutine. Thanks for the nice example.

0 Kudos
Steven_L_Intel1
Employee
277 Views

I'm told this will be fixed for the 16.0 release.

0 Kudos
Reply