https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117897
Bug ID: 117897
Summary: Bug in gfortran compiled windows run time with the
latest release (14.2.0)
Product: gcc
Version: 14.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: jean.gual at cerema dot fr
Target Milestone: ---
Created attachment 59776
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59776&action=edit
main program and vector modul
we have downloaded the last release of gfortran (14.2.0) and our software
doesnot works under windows (with MingW).
There was not problems with previous releases until 12.2.
we have reduced the problematic source code to two modules with few
instructions.
the main source put one element in a vector and after it points
on with a pointer function: Cds_pt_materiau. This function does not works.
The vector module implements a simple vector class.
when we replaces the Cds_pt_materiau function call (line 48) by a same internal
source code
(commented in the code source line 50 to 58) the programm works and write at
the console the two lines:
class materiau
nom_materiau:12345678
with the Cds_pt_function, the program apparently iterates erratically in the
Cds_pt_materiau and write :
class materiau
class materiau
and after stop.
NOTE: This simple programm works with ifort compilator.
the command line of compilation is :
gfortran -O0 uef_classe_vector.f90 cds_principal.f90 -static