diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2025-01-08 18:51:27 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2025-01-10 15:15:02 +0000 |
commit | 288ac095b4df1a47a4cf9ba2efdc56a568a6e951 (patch) | |
tree | 3b811daf4634cd0f0a94b71e3bd23e66351a61a3 /gcc/tree-vectorizer.h | |
parent | 553411851d9d20510979eb4daa6675d01a79aea4 (diff) | |
download | gcc-288ac095b4df1a47a4cf9ba2efdc56a568a6e951.zip gcc-288ac095b4df1a47a4cf9ba2efdc56a568a6e951.tar.gz gcc-288ac095b4df1a47a4cf9ba2efdc56a568a6e951.tar.bz2 |
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.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions