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

--- Comment #13 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Andi Kleen <a...@gcc.gnu.org>:

https://gcc.gnu.org/g:ae814afad900edf1f19850985614398e0875618c

commit r15-7326-gae814afad900edf1f19850985614398e0875618c
Author: Andi Kleen <a...@gcc.gnu.org>
Date:   Wed Dec 25 11:54:13 2024 -0800

    Add tunables for input buffer

    The input machinery to read the source code independent of the lexer
    has a range of hard coded maximum array sizes that can impact performance.
    Make them tunable.

    input.cc is part of libcommon so it cannot direct access params
    without a level of indirection.

    gcc/ChangeLog:

            PR preprocessor/118168
            * input.cc (file_cache::tune): New function.
            * input.h (class file_cache): Make tunables non const.
            * params.opt: Add new tunables.
            * toplev.cc (toplev::main): Initialize input buffer context
            tunables.

Reply via email to