--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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