Recently I try to use submodule. But My compiler return a error of code 6122. There is a module and its sub module.
Link Copied
This looks like a bug in the Intel Fortran compiler. gfortran 10.2.0 accepts the code and I see no difference between the interface in the module and the actual code in the submodule.
This looks like a bug in the Intel Fortran compiler. gfortran 10.2.0 accepts the code and I see no difference between the interface in the module and the actual code in the submodule.
I filed a bug report on this, CMPLRLLVM-25800. I'll post here when there's a fix.
For more complete information about compiler optimizations, see our Optimization Notice.