The RISC-V fixed-length vector calling convention introduces multiple ABI
variants based on different ABI_VLEN values. Each variant requires a
separate ABI ID to maintain proper ABI compatibility tracking in GCC.
Increase NUM_ABI_IDS from 8 to 12 to accommodate these additional ABI
variants.

gcc/ChangeLog:

        * function-abi.h (NUM_ABI_IDS): Increase from 8 to 12.
---
 gcc/function-abi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/function-abi.h b/gcc/function-abi.h
index 6cb552fbcac..338f0e1a522 100644
--- a/gcc/function-abi.h
+++ b/gcc/function-abi.h
@@ -28,7 +28,7 @@ along with GCC; see the file COPYING3.  If not see
    NUM_ABI_IDS is the maximum number of such ABIs that GCC can handle at once.
    A bitfield with this number of bits can represent any combinaion of the
    supported ABIs.  */
-const size_t NUM_ABI_IDS = 8;
+const size_t NUM_ABI_IDS = 12;
 
 /* Information about one of the target's predefined ABIs.  */
 class predefined_function_abi
-- 
2.34.1

Reply via email to