------- Comment #2 from pault at gcc dot gnu dot org 2008-03-26 06:34 -------
(In reply to comment #1)
> Reddduced testscase
>
> SUBROUTINE CG0028 (TDA1L, N)
TYPE UNSEQ
CHARACTER(2) :: C
END TYPE UNSEQ
Changing to CHARACTER (LEN /= 1) "fixes" the problem.
If I would hazard a guess, something is going wrong in
trans-expr.c(gfc_trans_string_copy), where LEN=1 is treated separately. I'll
assign myself, since it looks to be consistent with the time that I have for
gfortran at present.
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|NEW |ASSIGNED
Last reconfirmed|2008-03-26 06:22:59 |2008-03-26 06:34:39
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35702