https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86006
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2018-05-31 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- I get the error with at least 4.8 up to trunk (9.0). > From my understanding this should work. Where do you expect the ambiguity between Class(*), Intent(Out), Pointer :: TSOut and Integer*8, Intent(In) :: ISPos to be resolved? > It also compiles without error with other compilers (e.g. ifort) Did you use any option enforcing the compliance to some Fortran standard?