This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libfortran/50016] The fortran program 's io is very slow
- From: "cgl_lgs at 163 dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 9 Aug 2011 07:46:49 +0000
- Subject: [Bug libfortran/50016] The fortran program 's io is very slow
- Auto-submitted: auto-generated
- References: <bug-50016-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50016
ååçæ <cgl_lgs at 163 dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |cgl_lgs at 163 dot com
--- Comment #11 from ååçæ <cgl_lgs at 163 dot com> 2011-08-09 07:46:28 UTC ---
(In reply to comment #3)
> I can not reproduce this on my system. I did notice a warning about line
> truncation on the long line in the example. You may want to use line
> continuations for that one like this:
>
> write(13,rec=jj*i+j)nlgs(1,j,i),dlgs(200,j,i),nlgs(2,j,i),dlgs(199,j,i),&
> & nlgs(3,j,i),dlgs(198,j,i),nlgs(4,j,i),dlgs(197,j,i),nlgs(5:8,j,i),&
> & dlgs(154:190,j,i)
>
> Sometimes if you get truncated in just the right place, the program will still
> compile and run, but not the way you think it is.
you can compile it using "-ffree-line-length-none":)