diff options
author | Tom Tromey <tromey@adacore.com> | 2020-06-05 06:40:14 -0600 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:10:38 -0300 |
commit | 86f289a6f1c65090a14b4e694a7ff024d9455a91 (patch) | |
tree | c15fa6ac3010454af2e762b1ad544365c21ecb29 /gcc/fortran/trans-common.c | |
parent | 1dce4fd66af3e6c94eef205d9dac42800f712f37 (diff) | |
download | gcc-86f289a6f1c65090a14b4e694a7ff024d9455a91.zip gcc-86f289a6f1c65090a14b4e694a7ff024d9455a91.tar.gz gcc-86f289a6f1c65090a14b4e694a7ff024d9455a91.tar.bz2 |
fortran/95509 - fix spellcheck-operator.f90 regression
My earlier patch to add case handling to the spell checker caused a
Fortran regression. I believe I must have misread the test results.
This patch fixes the problem by changing the cutoff. I chose this
value because the previous patch effectively multiplied the result of
get_edit_distance by 2 (unless a case change is involved).
gcc/fortran/ChangeLog:
PR fortran/95509
* misc.c (gfc_closest_fuzzy_match): Update cutoff value
computation.
Diffstat (limited to 'gcc/fortran/trans-common.c')
0 files changed, 0 insertions, 0 deletions