IBM Z: Unhardcode NR_C_MODES
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 21 Oct 2020 11:48:07 +0000 (13:48 +0200)
committerIlya Leoshkevich <iii@linux.ibm.com>
Wed, 4 Nov 2020 21:33:30 +0000 (22:33 +0100)
commit6682ef4363b32977aeca590fced2221329c92c02
tree4c478daa0921505111203924460141ec02efde6d
parent88ea64e941562db4389bd3c2932b0194526e93e7
IBM Z: Unhardcode NR_C_MODES

gcc/ChangeLog:

2020-11-03  Ilya Leoshkevich  <iii@linux.ibm.com>

* config/s390/s390.c (NR_C_MODES): Unhardcode.
(s390_alloc_pool): Use size_t for iterating from 0 to
NR_C_MODES.
(s390_add_constant): Likewise.
(s390_find_constant): Likewise.
(s390_dump_pool): Likewise.
(s390_free_pool): Likewise.
gcc/config/s390/s390.c