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

--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Nathaniel Shead <[email protected]>:

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

commit r16-4921-gb466450c6d502557921f03527cc165fb3402aaa9
Author: Nathaniel Shead <[email protected]>
Date:   Sat Nov 1 22:59:33 2025 +1100

    c++/modules: Stream BASELINK_OPTYPE [PR122381]

    This is used in template conversion operators to determine what type the
    user requested.

            PR c++/122381

    gcc/cp/ChangeLog:

            * module.cc (trees_out::core_vals): Write BASELINK_OPTYPE (aka
            TREE_CHAIN).
            (trees_in::core_vals): Read it.

    gcc/testsuite/ChangeLog:

            * g++.dg/modules/convop-2_a.H: New test.
            * g++.dg/modules/convop-2_b.C: New test.

    Signed-off-by: Nathaniel Shead <[email protected]>

Reply via email to