Internal compiler error when array constructor value is a procedure

Internal compiler error when array constructor value is a procedure

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

附件尺寸
下载 test-ice.f90997 字节
4 帖子 / 0 全新
最新文章
如需更全面地了解编译器优化,请参阅优化注意事项

Thanks - we'll take a look.

Steve - Intel Developer Support

Escalated as issue DPD200247861 - thanks for the nice example.

Steve - Intel Developer Support

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.

Steve - Intel Developer Support

发表评论

登录添加评论。还不是成员?立即加入