This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/19269] transpose(reshape(...)) of character array segfaults.
- From: "rsandifo at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Sep 2005 15:54:42 -0000
- Subject: [Bug fortran/19269] transpose(reshape(...)) of character array segfaults.
- References: <20050105164934.19269.Thomas.Koenig@online.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rsandifo at gcc dot gnu dot org 2005-09-06 15:54 -------
There seem to be two problems here. First, gfc_simplify_reshape
doesn't set the result's typespec correctly (it doesn't include
a character length). Second, we're passing character lengths
to the transpose library function, which only wants array
descriptors. I'm testing a patch for the first problem.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rsandifo at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2005-06-06 00:30:05 |2005-09-06 15:54:38
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19269