http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57697

--- Comment #12 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Dominique d'Humieres from comment #11)
> The test gfortran.dg/defined_assignment_11.f90 fails on
> x86_64-apple-darwin10:
> ==30916== Invalid read of size 4
> ==30916==    at 0x1000021EF: MAIN__ (defined_assignment_11_db.f90:40)
> 
> It is probably related to comment #10.

It shouldn't. The problem of comment 10 only occurs when "left" is deallocated
- and there is no end-of-scope deallocation in defined_assignment_11.f90 as
variables in MAIN have implicitly the SAVE attribute.

What's the difference between defined_assignment_11_db.f90 and
defined_assignment_11.f90?

Reply via email to