[Bug fortran/40962] Conversion problem for f-allocatable - cptr - fptr - f-allocatable

2009-09-12 Thread J-A dot Martin at sympatico dot ca
--- Comment #10 from J-A dot Martin at sympatico dot ca 2009-09-12 13:43 --- (In reply to comment #8) Subject: Bug 40962 Author: tkoenig Date: Thu Aug 20 20:42:38 2009 New Revision: 150975 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150975 Log: 2009-08-20 Thomas

[Bug fortran/40962] Conversion problem for f-allocatable - cptr - fptr - f-allocatable

2009-09-12 Thread tkoenig at gcc dot gnu dot org
--- Comment #11 from tkoenig at gcc dot gnu dot org 2009-09-12 14:00 --- (In reply to comment #10) It doesn't work if the 3rd dimension is 2 The test case only shows the array shape. It should fill the sample arrays and compares. The test case is: ! { dg-do run } program main

[Bug fortran/40962] Conversion problem for f-allocatable - cptr - fptr - f-allocatable

2009-08-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2009-08-20 17:16 --- I have a patch. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40962] Conversion problem for f-allocatable - cptr - fptr - f-allocatable

2009-08-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2009-08-20 20:16 --- Subject: Bug 40962 Author: tkoenig Date: Thu Aug 20 20:16:15 2009 New Revision: 150974 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150974 Log: 2009-08-20 Thomas Koenig tkoe...@gcc.gnu.org PR

[Bug fortran/40962] Conversion problem for f-allocatable - cptr - fptr - f-allocatable

2009-08-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #8 from tkoenig at gcc dot gnu dot org 2009-08-20 20:42 --- Subject: Bug 40962 Author: tkoenig Date: Thu Aug 20 20:42:38 2009 New Revision: 150975 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=150975 Log: 2009-08-20 Thomas Koenig tkoe...@gcc.gnu.org PR

[Bug fortran/40962] Conversion problem for f-allocatable - cptr - fptr - f-allocatable

2009-08-20 Thread tkoenig at gcc dot gnu dot org
--- Comment #9 from tkoenig at gcc dot gnu dot org 2009-08-20 20:56 --- Fixed on trunk and 4.4, closing. If anybody wants to backport the fix to 4.3, be my guest :-) -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/40962] Conversion problem for f-allocatable - cptr - fptr - f-allocatable

2009-08-17 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2009-08-17 21:41 --- Another report - presumably the same problem: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/b184bd431c8dd3da# -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40962

[Bug fortran/40962] Conversion problem for f-allocatable - cptr - fptr - f-allocatable

2009-08-17 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2009-08-17 22:12 --- I'll look at this for a bit. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40962

[Bug fortran/40962] Conversion problem for f-allocatable - cptr - fptr - f-allocatable

2009-08-04 Thread burnus at gcc dot gnu dot org
--- Comment #3 from burnus at gcc dot gnu dot org 2009-08-04 16:09 --- Thomas, as you know a bit about the array descriptor, can you have a look? The problem seems to be in libgfortran/intrinsics/iso_c_binding.c's c_f_pointer* Simplified test case: One: 1 2 -1 -2 Two: 1 2 2 -1