Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Intel 14 and 15 compiler bug

Neil_Carlson
Beginner
534 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
534 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
534 Views

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

0 Kudos
Reply