aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/trans-openmp.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2020-07-22 08:01:45 -0700
committerNathan Sidwell <nathan@acm.org>2020-07-22 08:43:25 -0700
commit18d96339d26e31f06707fe234040bde45b6de70b (patch)
treee1144045835cebe090a42afeed2951f4520f527e /gcc/fortran/trans-openmp.c
parent5980c0dcc6b3c2bb2f01f2140f48beb3fe3ffee6 (diff)
downloadgcc-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