[Bug libfortran/38199] [4.7/4.8/4.9 Regression] missed optimization: I/O performance

jvdelisle at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sun Mar 9 03:09:00 GMT 2014


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

--- Comment #30 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
The read:

read(buffer,'(i100000)') i

is an entirely different code path then the example in Comment #22 because of
the format specifier.  This is handled very differently from a list directed
read.  In read_block_form we take the users intent of i100000 very literally. 
I also see how we can do a trim on it.  I will work on this as a separate
patch, keeping in mind this test case is well contrived.  :)



More information about the Gcc-bugs mailing list