https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67744
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |WAITING Last reconfirmed| |2015-10-10 Ever confirmed|0 |1 --- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- I get the compile-time error with 4.8 up to trunk (6.0). Note that code compiles if I replace the line call g%write() with call write(g) and outputs "OK" at run time. I get the same result if I add a line call write(retfoo(op)) but call retfoo(op)%write() is rejected with the error pr67744_db.f90:40:17: call retfoo(op)%write() 1 Error: Syntax error in CALL statement at (1) I wonder if 'call g%write()' is valid.