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

--- Comment #3 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Christophe Lyon <cl...@gcc.gnu.org>:

https://gcc.gnu.org/g:288ac095b4df1a47a4cf9ba2efdc56a568a6e951

commit r15-6795-g288ac095b4df1a47a4cf9ba2efdc56a568a6e951
Author: Christophe Lyon <christophe.l...@linaro.org>
Date:   Wed Jan 8 18:51:27 2025 +0000

    arm: [MVE intrinsics] Fix tuples field name (PR 118332)

    The previous fix only worked for C, for C++ we need to add more
    information to the underlying type so that
    finish_class_member_access_expr accepts it.

    We use the same logic as in aarch64's register_tuple_type for AdvSIMD
    tuples.

    This patch makes gcc.target/arm/mve/intrinsics/pr118332.c pass in C++
    mode.

    gcc/ChangeLog:

            PR target/118332
            * config/arm/arm-mve-builtins.cc (wrap_type_in_struct): Delete.
            (register_type_decl): Delete.
            (register_builtin_tuple_types): Use
            lang_hooks.types.simulate_record_decl.

Reply via email to