------- Comment #2 from pault at gcc dot gnu dot org 2009-01-07 13:12 ------- (In reply to comment #0) The lack of simplification is due to an omission in target-memory.c(gfc_target_memory_size), in which the possibility of (1) a constant cl->length and (ii) no defined character length, as here, have been omitted.
This is easily fixed and a patch is on its way. Similarly, removing the pack/unpack can be easily accomplished. Cheers Paul -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pault at gcc dot gnu dot org |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2009-01-07 13:12:47 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37212