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

Brad Richardson <everythingfunctional at protonmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |everythingfunctional@proton
                   |                            |mail.com

--- Comment #4 from Brad Richardson <everythingfunctional at protonmail dot 
com> ---
Hi Jerry,

I recently added some new tests that are causing gfortran to crash, see the
runtime error you show:

At line 42 of file test/usage_test.f90
Fortran runtime error: Attempt to DEALLOCATE unallocated 'the_resource'

The output that Damian shows is from prior to adding those tests, and the
reported test failures describe the aspects of finalization that gfortran is
not performing correctly. You can check out commit f7cfe04 to see those
failures. Specifically gfortran fails to finalize:

* a non-allocatable object on the LHS of an intrinsic assignment
* an allocated allocatable LHS of an intrinsic assignment
* a function reference on the RHS of an intrinsic assignment
* a specification expression function result

Let me know if you need any more help identifying/exploring the test failures.

PS glad you had a good experience with fpm

Reply via email to