[libgfortran, patch] Minor simplification in find_option
FX
fxcoudert@gmail.com
Fri Sep 10 11:28:00 GMT 2010
Dear all,
The attached small patch simplifies the code in the library's find_option() function, so that we don't repeatedly call fstrlen() on the same string. We now compute the length once before the start of the loop. This allows to inline the remaining of compare0.
Bootstrapped and regtested on x86_64-linux, OK to commit?
FX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: string.ChangeLog
Type: application/octet-stream
Size: 144 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100910/eed2ca11/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: string.diff
Type: application/octet-stream
Size: 1401 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20100910/eed2ca11/attachment-0001.obj>
More information about the Fortran
mailing list