This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/43532] Segfault using shape intrinsic function with deferred-shape array
- From: "pault at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Mar 2010 17:59:38 -0000
- Subject: [Bug libfortran/43532] Segfault using shape intrinsic function with deferred-shape array
- References: <bug-43532-18960@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pault at gcc dot gnu dot org 2010-03-27 17:59 -------
With the function calls interchanged, the problem goes away. ie. with:
write (*,*) shape(this%myarray) /= shape(array) ! SEGFAULT
I can't see from the code yet why this is happening but can confirm the bug.
Paul
--
pault at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-03-27 17:59:38
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43532