This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gcov-profile/67097] gcov-tool merge (can) crash when dir2 contains files not in dir1


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67097

--- Comment #8 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Gilles Gouaillardet from comment #6)
> as a side note, would you be interested in me providing a patch so
> gcov-tool merge
> can merge n directories (currently, we are limited to n=2) ?
> 
> i would implement that via a binary tree, so under the hood, that would
> require o(log(n)) elementary merge of two directories.
> 
> for extreme merge, i can also add an option that specifies the temporary
> directory to be used (e.g. something different that /tmp/$TMPDIR)

If you have a use-case where it would be beneficial, why not ;)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]