On 8/19/24 6:58 AM, Alejandro Colomar wrote:
The old name was misleading.
While at it, also rename some temporary variables that are used with
this function, for consistency.
Link:
https://inbox.sourceware.org/gcc-patches/9fffd80-dca-2c7e-14b-6c9b509a7...@redhat.com/T/#m2f661c67c8f7b2c405c8c7fc3152dd85dc729120
Cc: Gabriel Ravier <gabrav...@gmail.com>
Cc: Martin Uecker <uec...@tugraz.at>
Cc: Joseph Myers <josmy...@redhat.com>
Cc: Xavier Del Campo Romero <xavi....@tutanota.com>
Cc: Jakub Jelinek <ja...@redhat.com>
gcc/ChangeLog:
* tree.cc (array_type_nelts, array_type_nelts_minus_one):
* tree.h (array_type_nelts, array_type_nelts_minus_one):
* expr.cc (count_type_elements):
* config/aarch64/aarch64.cc
(pure_scalable_type_info::analyze_array):
[etc]
FYI the commit message checker, which you can run yourself as git
gcc-verify, will reject this for missing descriptions, e.g.
ERR: missing description of a change: " * expr.cc (count_type_elements):"
ERR: missing description of a change: "
(pure_scalable_type_info::analyze_array):"
To avoid this, you can remove the end-of-line colons for changes
described farther below.
Jason