aboutsummaryrefslogtreecommitdiff
path: root/contrib/gcc-changelog/git_commit.py
diff options
context:
space:
mode:
authorMikael Morin <morin-mikael@orange.fr>2025-07-27 14:47:14 +0200
committerMikael Morin <mikael@gcc.gnu.org>2025-07-30 10:35:12 +0200
commit25593e555466f67348844c9cb572cf378ccef676 (patch)
tree3d1a8fb60c951ef79704cebe65afdc9a6153838f /contrib/gcc-changelog/git_commit.py
parentfa6c9c2e483ba1707b6ac83010e4ae47c9100b21 (diff)
downloadgcc-25593e555466f67348844c9cb572cf378ccef676.zip
gcc-25593e555466f67348844c9cb572cf378ccef676.tar.gz
gcc-25593e555466f67348844c9cb572cf378ccef676.tar.bz2
fortran: Remove useless elements count variable
The function gfc_array_init_size evaluates the number of array elements to a variable from a caller, but the single caller providing the variable actually doesn't use it. This change removes the variable and the function arguments passing its address down the call chain. gcc/fortran/ChangeLog: * trans-array.cc (gfc_array_init_size): Remove the nelems argument. (gfc_array_allocate): Update caller. Remove the nelems argument. * trans-stmt.cc (gfc_trans_allocate): Update caller. Remove the nelems variable. * trans-array.h (gfc_array_allocate): Update prototype.
Diffstat (limited to 'contrib/gcc-changelog/git_commit.py')
0 files changed, 0 insertions, 0 deletions