[Bug fortran/45170] [F2003] allocatable character lengths

burnus at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Jun 16 18:29:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45170

--- Comment #39 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-06-16 18:28:31 UTC ---
The issue of comment 24 is now fixed (comment 38). Thus, only the following
issues remain, which are all covered in other bugs (see dependency list):

* PR 50221: Allocatable string length fails with array assignment
  Cf. also comment 0 and comment 9

* PR 47674: gfortran.dg/realloc_on_assign_5.f03:
  Segfault at run time for deferred (allocatable) string length
  Related to missing dependency handling for substrings like: "a = a(1:4)"

* PR 49954: ICE assigning concat expression to an array deferred-length string
  (realloc on assignment)
  Related to the problem that expr->ts.u.cl->backend_decl points to the wrong
  result.

* PR 51976: [F2003] Support deferred-length character components of derived
  types (allocatable string length)
  Similar to the previous issue: expr->ts.u.cl->backend_decl is wrong, one
needs
  to convert it to dt_var._hidden_length. (Well, the "_hidden_length" is
  also not yet implemented in the trunk.)
  (Cf. also comment 9)



More information about the Gcc-bugs mailing list