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

AttachmentSize
Downloadapplication/octet-stream test-ice.f90997 bytes
4 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Thanks - we'll take a look.

Retired 12/31/2016

Escalated as issue DPD200247861 - thanks for the nice example.

Retired 12/31/2016

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.

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today