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

AnexoTamanho
Download test-ice.f90997 bytes
4 posts / novo 0
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.

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

Deixar um comentário

Faça login para adicionar um comentário. Não é membro? Inscreva-se hoje mesmo!