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

Internal compiler error when array constructor value is a procedure

Olsen__Oystein
Beginner
571 Views

Hello,

I have attached a small example that triggers an internal compiler error. It is caused by a statement on the form

r = (/v%x, v%y, v%z/)

where x, y, z are type bound procedures, see line number 45. The correct statement is

r = (/v%x(), v%y(), v%z()/)



This is with intel fortran version 14.0.0 (64 bit) on openSUSE 12.3

Best regards,

Øystein

0 Kudos
3 Replies
Steven_L_Intel1
Employee
571 Views

Thanks - we'll take a look.

0 Kudos
Steven_L_Intel1
Employee
571 Views

Escalated as issue DPD200247861 - thanks for the nice example.

0 Kudos
Steven_L_Intel1
Employee
571 Views

This has been fixed for a future release. It probably won't go in to a minor update since it requires incorrect usage to trigger.

0 Kudos
Reply