aboutsummaryrefslogtreecommitdiff
path: root/gcc/loop.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gcc.gnu.org>2001-01-25 00:18:16 +0000
committerUlrich Drepper <drepper@gcc.gnu.org>2001-01-25 00:18:16 +0000
commite57cabac809559538ae7f3bf2866b66401a321e7 (patch)
tree5bd79f238424aed5db38184eae8d9364f0875614 /gcc/loop.c
parentc499d4d23ae57bc5705db8eb991fa938b6933298 (diff)
downloadgcc-e57cabac809559538ae7f3bf2866b66401a321e7.zip
gcc-e57cabac809559538ae7f3bf2866b66401a321e7.tar.gz
gcc-e57cabac809559538ae7f3bf2866b66401a321e7.tar.bz2
dwarf2out.c (prefix_of): New function.
* dwarf2out.c (prefix_of): New function. Determine longest common prefix of the two arguments. The units are whole path components. (output_file_names): When adding a new directory find the one entry with the longest common prefix already in the list. Artificially generate entry if there is none for this prefix. Fix test to check whether the zeroth directory entry is used. : ---------------------------------------------------------------------- From-SVN: r39253
Diffstat (limited to 'gcc/loop.c')
0 files changed, 0 insertions, 0 deletions