[Bug libfortran/50016] The fortran program 's io is very slow

cgl_lgs at 163 dot com gcc-bugzilla@gcc.gnu.org
Tue Aug 9 07:47:00 GMT 2011


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":)



More information about the Gcc-bugs mailing list