https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71838

--- Comment #7 from Paul Thomas <pault at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #6)
> I get the ICE with the following trivial submodule
> 
> submodule ( cgca_m3clvg ) m3clvg_sm3
> 
> implicit none
> 
> contains
> 
> module procedure cgca_clvgp
> 
> end procedure cgca_clvgp
> 
> end submodule m3clvg_sm3
> 
> !-(

Dominique,

This now produces:

[pault@pc30 pr71838]$ ~/irun/bin/gfortran -static-libgfortran p*.f90
f951: Fatal Error: Module file ‘cgca_m3clvg.smod’ has not been generated,
either because the module does not contain a MODULE PROCEDURE or there is an
error in the module.
compilation terminated.

Is the original bug similarly fixed?

Ciao

Paul

Reply via email to