gcc/ChangeLog:
* common/config/riscv/riscv-common.c (riscv_implied_info):
Add static and const.
(riscv_subset_list::handle_implied_ext): Add const due to
riscv_implied_info changed to const.
};
/* Implied ISA info, must end with NULL sentinel. */
-riscv_implied_info_t riscv_implied_info[] =
+static const riscv_implied_info_t riscv_implied_info[] =
{
{"d", "f"},
{NULL, NULL}
int minor_version,
bool explicit_version_p)
{
- riscv_implied_info_t *implied_info;
+ const riscv_implied_info_t *implied_info;
for (implied_info = &riscv_implied_info[0];
implied_info->ext;
++implied_info)