This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
The following patch is a resubmission of my 10th March patch to reduce the usage of (the inefficient) gfc_match_strings in the gfortran front-end. http://gcc.gnu.org/ml/fortran/2007-03/msg00226.html Although this patch was approved back then by Jerry DeLisle in http://gcc.gnu.org/ml/fortran/2007-03/msg00229.html and it was supported in principle by FX (who reconfirmed that gfc_match_strings is the "hottest" CPU hog in the gfortran front-end), it's been a while, so I thought I'd get it reapproved rather than commit it out of the blue. The following patch has been retested again current mainline on x86_64-unknown-linux-gnu, with a full "make bootstrap", including gfortran, and top-level "make -k check" with no new failures. Ok for mainline? 2007-08-18 Roger Sayle <roger@eyesopen.com> * primary.c (match_logical_constant_string): New function to match a ".true." or a ".false.". (match_logical_constant): Use it instead of gfc_match_strings. Roger -- Roger Sayle, E-mail: roger@eyesopen.com OpenEye Scientific Software, WWW: http://www.eyesopen.com/ Suite #D, 9 Bisbee Court, Tel: (+1) 505-473-7385 Santa Fe, New Mexico, 87508. Fax: (+1) 505-473-0833
Attachment:
patch.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |