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 libfortran/25628] Runtime error on write to string of global variable length



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-01-01 19:07 -------
Is this really a bug, changing the subroutine to:
    subroutine bar()
        character(len=10) :: str
        write (str, *) 0
    end subroutine bar

Also cause the problem, if I increase the size by a couple, it works.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|fortran                     |libfortran


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



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