This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/57522] [F03] ASSOCIATE construct creates array descriptor with incorrect stride for derived type array component
- From: "alan.briolat at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 04 Jun 2013 10:05:27 +0000
- Subject: [Bug fortran/57522] [F03] ASSOCIATE construct creates array descriptor with incorrect stride for derived type array component
- Auto-submitted: auto-generated
- References: <bug-57522-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57522
--- Comment #1 from Alan Briolat <alan.briolat at gmail dot com> ---
Created attachment 30255
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30255&action=edit
Working "equivalent" code based on pointers
For comparison, this attached code uses pointers to achieve the same thing and
gets the correct result. What's so different between the array descriptors
used for pointers and the array descriptors use for ASSOCIATE?