Re: Chained modules in a testcase

2023-01-19 Thread Harald Anlauf via Fortran
Hi Paul, I got a list of potential candidates by % grep 'dg-additional-sources .*f90 ' gcc/testsuite/gfortran.dg/ -r and ran the first one: % make check-fortran RUNTESTFLAGS='dg.exp=altreturn_9*.*' On first sight this looked fine. Cheers, Harald

Chained modules in a testcase

2023-01-19 Thread Paul Richard Thomas via Fortran
Hi, Andrew Benson found a rather horrible bug in my finalization patch that involved two separate module files and another containing both a module and the main program. They must be compiled separately for the bug to appear. This bug arises in finalization because some derived type function resul