This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/25628] Runtime error on write to string of global variable length
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Jan 2006 19:07:11 -0000
- Subject: [Bug libfortran/25628] Runtime error on write to string of global variable length
- References: <bug-25628-11549@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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