Quantcast
Channel: Intel® Software - Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2746

ifort 16.0.2: no more targeting to elemental functions; Was it a feature, not a bug?

$
0
0

Hi,

Until lately I was using function pointers to alias different elemental procedures sharing the same abstract interface. Obviously that's forbidden according to the standard but allowed until the last version of the ifort compiler. Ifort 16.0.2 now prints the error:

error #6128: Non-intrinsic ELEMENTAL procedure is not allowed as a pointer procedure target.

First, where is the sense in this restriction and second, what else can I do to alias dynamically elemental functions?

Thanks for help!


Viewing all articles
Browse latest Browse all 2746

Trending Articles