This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Gfortran ICE with submodules: module procedure interface defined in parent module (bug report 79402)


Dear gfortran team,

I have just created a bug report 79402,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79402

I am writing on the behalf of Chris Coutinho who cannot create a
bugzilla account.

GNU gfortran generates and ICE when a submodule implementation of a
procedure inherits its signature from the parent module by means of
the "module procedure" syntax.

In the "gfortran_ice_submodule.f90" file attached to the bug report
there is a minimal example raising the ICE (Arch Linux, 4.8.13-1-ARCH
#1 SMP PREEMPT) with both 6.3.1 and development trunk 7.0.0 (I have
not yet installed 7.0.1 version). If you comment lines 24-26 and
un-comment lines 17-22 the program runs as expected.

Our best regards.

Stefano Zaghi  Ph.D. Aerospace Engineer

Research Scientist, Dept. of Computational Hydrodynamics at CNR-INSEAN
p: +39 0650299260 | m: +39 3497730036 | e: stefano.zaghi@gmail.com

Member of Fortran-FOSS-Programmers

Codes Showcase
OFF          Open source Finite volumes Fluid dynamics code
Lib_VTK_IO   Fortran library to write and read data conforming the VTK standard
FLAP         Fortran command Line Arguments Parser for poor men
BeFoR64      Base64 encoding/decoding library for FoRtran poor men
FiNeR        Fortran INI ParseR and generator for FoRtran poor men
IR_Precision Fortran (standard 2003) module to develop portable codes
FoBis.py     Fortran Building System for poor men
PreForM.py   Preprocessor for Fortran poor men
MaTiSSe.py   Markdown To Impressive Scientific Slides


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]