This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/31197] [4.3/4.2 regression^2] TRANSPOSE/RESHAPE and strings



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]