aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.cc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2024-01-12 12:29:22 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2024-01-12 12:29:22 +0000
commit81d309168b2a058d4c8ad5430abb56cfe1f82188 (patch)
treed1dbad05bd6040edb56c486e88af042e87ea7243 /gcc/function.cc
parentd76651d9170099de4d3bc3cbc3811d499018910b (diff)
downloadgcc-81d309168b2a058d4c8ad5430abb56cfe1f82188.zip
gcc-81d309168b2a058d4c8ad5430abb56cfe1f82188.tar.gz
gcc-81d309168b2a058d4c8ad5430abb56cfe1f82188.tar.bz2
aarch64: Use a global map to detect duplicated overloads [PR112989]
As explained in the covering note to the previous patch, the fact that aarch64-sve-* is now used for multiple header files means that function_builder::add_overloaded_function now needs to use a global map to detect duplicated overload functions, instead of the member variable that it used previously. gcc/ PR target/112989 * config/aarch64/aarch64-sve-builtins.h (function_builder::m_overload_names): Replace with... * config/aarch64/aarch64-sve-builtins.cc (overload_names): ...this new global. (add_overloaded_function): Update accordingly, using get_identifier to get a GGC-friendly record of the name.
Diffstat (limited to 'gcc/function.cc')
0 files changed, 0 insertions, 0 deletions