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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org,
                   |                            |nathan at gcc dot gnu.org

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Why would be the mkdeps.c ever performance critical?
But also, the function is only called with 1 (+ one defaulted to NULL) or 3
(last one NULL) arguments, so can't it be just changed to
static const char *
munge (const char *str, const char *tail = NULL)
and not use any varargs?  I don't see any changes to the calls to munge in the
modules patchset.
Or are there any short term plans to use it with more arguments?

Reply via email to