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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The trunk branch has been updated by Jason Merrill <[email protected]>:

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

commit r16-4002-gfa71e855ab78945af9da923408bac396213e2475
Author: Eczbek <[email protected]>
Date:   Sat Sep 20 09:25:40 2025 -0400

    c++: Fix lambdas with variadic parameters and static specifier [PR119048]

            PR c++/119048

    gcc/cp/ChangeLog:

            * lambda.cc (compare_lambda_sig): Only skip first parameter for
            object members.

    gcc/testsuite/ChangeLog:

            * g++.dg/cpp23/static-operator-call8.C: New test.

    Reviewed-by: Jason Merrill <[email protected]>

Reply via email to