[Bug fortran/64230] [4.9/5 Regression] Invalid memory reference in a compiler-generated finalizer for allocatable component

dominiq at lps dot ens.fr gcc-bugzilla@gcc.gnu.org
Sat Apr 25 07:49:00 GMT 2015


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

--- Comment #10 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> Do you see this too?

Yes, and the test runs if I remove/comment the line

  Deallocate (x)

The test gfortran.dg/class_allocate_18.f90 has the same problem: see pr64921.

> I hope that reopening this PR is acceptable. If not then just let me know
> and I will happily file a new one.

IMO it is better to file a new PR rather than reopening an old one. In the
present case, I think the problem reported in comment 9 is already tracked by
pr64921 (duplicate).



More information about the Gcc-bugs mailing list