https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119889
anlauf at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Version|unknown |16.0 --- Comment #6 from anlauf at gcc dot gnu.org --- (In reply to Jürgen Reuter from comment #5) > as I reported this to NAG and Intel as well, I got the following reply from > Malcolm Cohen from NAG: > "I note that there is an error in your example at line 56: it has > procedure(dlsym), pointer :: tmp_fun > however, it is not being pointer-assigned dlsym, but the result of > referencing dlsym. Therefore it should be something like > procedure(), pointer :: tmp_fun" > > After correcting this, both Nagfor and Ifx compile, as in gfortran. > Cheers, > Jürgen Thanks, Jürgen. If there is a confirmation by Intel, can you add here a link to the thread in their forum?