diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-07-22 08:01:45 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-07-22 08:43:25 -0700 |
commit | 18d96339d26e31f06707fe234040bde45b6de70b (patch) | |
tree | e1144045835cebe090a42afeed2951f4520f527e /gcc/fortran/trans-openmp.c | |
parent | 5980c0dcc6b3c2bb2f01f2140f48beb3fe3ffee6 (diff) | |
download | gcc-18d96339d26e31f06707fe234040bde45b6de70b.zip gcc-18d96339d26e31f06707fe234040bde45b6de70b.tar.gz gcc-18d96339d26e31f06707fe234040bde45b6de70b.tar.bz2 |
preprocessor: add_path simplifications
I noticed add_path was calling strlen more than once on the same
string. Let's not do that.
gcc/
* incpath.c (add_path): Avoid multiple strlen calls.
Diffstat (limited to 'gcc/fortran/trans-openmp.c')
0 files changed, 0 insertions, 0 deletions