diff options
author | Xi Ruoyao <xry111@xry111.site> | 2022-06-24 20:23:13 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-05-11 16:57:01 +0800 |
commit | 0440b774ea3311d65027aa7b1d26b62b7d8538ea (patch) | |
tree | d8a979476971f3c5309b766da43cecc22fe530fe /gcc/tree-ssa-loop-manip.h | |
parent | fb7044999b1e00e0538b2fc0771cc1f5d3b297d9 (diff) | |
download | gcc-0440b774ea3311d65027aa7b1d26b62b7d8538ea.zip gcc-0440b774ea3311d65027aa7b1d26b62b7d8538ea.tar.gz gcc-0440b774ea3311d65027aa7b1d26b62b7d8538ea.tar.bz2 |
fortran: use grep instead of fgrep
fgrep has been deprecated in favor of grep -F for a long time, and the
curren grep release (3.10) prints a warning of fgrep is used. Stop
using fgrep so we won't see the warning.
We can't hard code grep -F here or it may break build on hosts w/o GNU
grep. autoconf documentation contains a warning about this issue and
suggest to use AC_PROG_FGREP and $FGREP, but these are too overkill in
the specific case: there is no way "debian" could be interpreted as an
non-trivial regex, so we can use a plain grep here.
gcc/fortran/ChangeLog:
* Make-lang.in: Use grep instead of fgrep.
Diffstat (limited to 'gcc/tree-ssa-loop-manip.h')
0 files changed, 0 insertions, 0 deletions