Hi, there is no bug in your code. As said in the error message, it seems the functionality is not yet implemented in the compiler.
You can cross-check with Online Fortran Compiler - online editor that uses gfortran. It will return the correct output.