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

Fichier attachéTaille
Télécharger test-ice.f90997 octets
4 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.
Portrait de Steve Lionel (Intel)

Thanks - we'll take a look.

Steve
Portrait de Steve Lionel (Intel)

Escalated as issue DPD200247861 - thanks for the nice example.

Steve
Portrait de Steve Lionel (Intel)

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

Connectez-vous pour laisser un commentaire.