diff options
author | Piotr Trojanek <trojanek@adacore.com> | 2022-02-03 19:55:34 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2022-05-12 12:38:33 +0000 |
commit | d889e404c80685bf720fe2dd0f70a9baeb148791 (patch) | |
tree | e1536cfe5eec255ecf1e30d8d4b461800f343a21 /gcc/ada/gcc-interface | |
parent | e3e51e753a61917e3f3b286740a39357ac8c954f (diff) | |
download | gcc-d889e404c80685bf720fe2dd0f70a9baeb148791.zip gcc-d889e404c80685bf720fe2dd0f70a9baeb148791.tar.gz gcc-d889e404c80685bf720fe2dd0f70a9baeb148791.tar.bz2 |
[Ada] Reuse generic string hash for invocation signatures
Use a generic string hash routine for hashing of invocation signatures.
The System.String_Hash unit was added to GNAT in 2009 and shouldn't
cause any bootstrap problems these days. To be safe, we don't use the
GNAT.String_Hash renaming, which was added later.
Cleanup related to a new restriction No_Uninitialized_Local_Scalars,
which will also rely on GNAT hash tables. Semantics is unaffected.
gcc/ada/
* ali.adb (Hash): Reuse GNAT.String_Hash.Hash and don't pollute
the Name_Id table.
Diffstat (limited to 'gcc/ada/gcc-interface')
0 files changed, 0 insertions, 0 deletions