aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/gcc-interface
diff options
context:
space:
mode:
authorSteve Baird <baird@adacore.com>2021-07-14 16:55:28 -0700
committerPierre-Marie de Rodat <derodat@adacore.com>2021-09-22 15:01:44 +0000
commite41e989b42c4f3ddda55b6c2068d14bf5aa7136c (patch)
tree644ac4687ebd306c42d88342659ab781fd21b052 /gcc/ada/gcc-interface
parent7e7c4aeb6e16dc367764a7bc028a9c4c6fc87449 (diff)
downloadgcc-e41e989b42c4f3ddda55b6c2068d14bf5aa7136c.zip
gcc-e41e989b42c4f3ddda55b6c2068d14bf5aa7136c.tar.gz
gcc-e41e989b42c4f3ddda55b6c2068d14bf5aa7136c.tar.bz2
[Ada] Improve performance for case-insensitive regular expressions
gcc/ada/ * libgnat/s-regpat.adb (Match): Handle the case where Self.First is not NUL (so we know the first character we are looking for), but case-insensitive matching has been specified. (Optimize): In the case of an EXACTF Op, set Self.First as is done in the EXACT case, except with the addition of a call to Lower_Case.
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions