public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/56132] New: Lengths incorrect on assignment to an allocatable character scalar.
@ 2013-01-28 18:52 jtappin at gmail dot com
  2014-01-07 12:41 ` [Bug fortran/56132] " dominiq at lps dot ens.fr
  0 siblings, 1 reply; 2+ messages in thread
From: jtappin at gmail dot com @ 2013-01-28 18:52 UTC (permalink / raw)
  To: gcc-bugs


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

             Bug #: 56132
           Summary: Lengths incorrect on assignment to an allocatable
                    character scalar.
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: jtappin@gmail.com


Created attachment 29296
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29296
Code demonstrating the problem

When I run the attached program with gfortran (4.7.2), the length appears to be
that of the previous assignment, e.g.:
./a.out 
String :_jjjj
           0 
           0 
String :_ssss
           0 
           4 ssss
String :_77
           4 ssss
           4 77  
String :_why does this happen
           4 77  
           2 wh


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-07 12:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-28 18:52 [Bug fortran/56132] New: Lengths incorrect on assignment to an allocatable character scalar jtappin at gmail dot com
2014-01-07 12:41 ` [Bug fortran/56132] " dominiq at lps dot ens.fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).