This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/31197] [4.3/4.2 regression^2] TRANSPOSE/RESHAPE and strings
- From: "burnus at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 May 2007 21:29:24 -0000
- Subject: [Bug fortran/31197] [4.3/4.2 regression^2] TRANSPOSE/RESHAPE and strings
- References: <bug-31197-6642@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #9 from burnus at gcc dot gnu dot org 2007-05-04 22:29 -------
If ts.cl->length is set to one, the test case of comment 6 works; see also
http://gcc.gnu.org/ml/fortran/2007-05/msg00072.html which contains a bogus
patch which fixes this.
As that patch messes around with length, the test case of comment 0 fails. (The
"res" variable contains "111111111" instead of "2222222222", i.e. the value of
a(1:1) instead of a(2:2) is used.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31197