[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-10-13 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42647 --- Comment #11 from Tobias Burnus burnus at gcc dot gnu.org 2010-10-13 13:21:40 UTC --- (In reply to comment #10) allocate(a1, a1%b1, a1%b1%c1) This ALLOCATE statement is INVALID! It violates the following: An allocate-object [...] shall not

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-09-02 Thread dominiq at lps dot ens dot fr
--- Comment #10 from dominiq at lps dot ens dot fr 2010-09-02 14:49 --- The tests in the different comments seem to pass since some time. The behavior of the derived test module m type st

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-05-16 Thread dominiq at lps dot ens dot fr
--- Comment #9 from dominiq at lps dot ens dot fr 2010-05-16 14:40 --- (In reply to comment #8) This is fixed by this patchlet (which is part of patch in comment #1): This patch breaks gfortran.dg/allocatable_scalar_9.f90 (Segmentation fault) and some variants I have in my tests. --

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-05-15 Thread dominiq at lps dot ens dot fr
--- Comment #5 from dominiq at lps dot ens dot fr 2010-05-15 21:25 --- See also pr44154. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42647

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #6 from janus at gcc dot gnu dot org 2010-05-15 22:03 --- Subject: Bug 42647 Author: janus Date: Sat May 15 22:03:09 2010 New Revision: 159445 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=159445 Log: 2010-05-15 Janus Weil ja...@gcc.gnu.org PR

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #7 from janus at gcc dot gnu dot org 2010-05-15 22:16 --- r159445 should fix all the initialization trouble. Comment #2/#3 has been included as a test case. For the automatic deallocation there is be a problem remaining: In comment #0, a itself is now automatically

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-05-15 Thread janus at gcc dot gnu dot org
--- Comment #8 from janus at gcc dot gnu dot org 2010-05-15 22:29 --- (In reply to comment #7) For the automatic deallocation there is be a problem remaining: In comment #0, a itself is now automatically deallocated, but not a%d any more. This is fixed by this patchlet (which is

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-01-27 Thread burnus at gcc dot gnu dot org
-- burnus at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|burnus at gcc dot gnu dot |unassigned at gcc dot gnu |org

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-01-10 Thread dominiq at lps dot ens dot fr
--- Comment #4 from dominiq at lps dot ens dot fr 2010-01-10 15:36 --- The patch in comment #1 fixes the test in comment#0, bootstrapped, regtested, and passed my tests. I have split the tests in comment#2 and #3 in two: module m

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-01-09 Thread burnus at gcc dot gnu dot org
--- Comment #1 from burnus at gcc dot gnu dot org 2010-01-09 17:34 --- Created an attachment (id=19524) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19524action=view) Patch - fixes also use-assoc sllocatable scalars -- burnus at gcc dot gnu dot org changed: What

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-01-09 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2010-01-09 21:29 --- And of cause it still does not work: module m type st integer ,

[Bug fortran/42647] Missed initialization/dealloc of allocatable scalar DT with allocatable component

2010-01-09 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2010-01-09 21:30 --- use m type(t1) :: na1, a1, aa1(:) type(t2) :: na2, a2, aa2(:) type(t3) :: na3, a3, aa3(:) type(t4) :: na4, a4, aa4(:) allocatable :: a1, a2, a3, a4, aa1, aa2, aa3,aa4 if(allocated(a1)) call abort() if(allocated(a2))