https://gcc.gnu.org/g:3772a8419cabd9ed514818afbc0ba3dc03390d51
commit r17-4383-g3772a8419cabd9ed514818afbc0ba3dc03390d51 Author: Michiel Derhaeg <[email protected]> Date: Thu Sep 17 11:41:52 2026 +0300 arc: Initialize missing CC mode The change was supposed to be part of r16-1685-g467fa6d257efde, but somehow it was not included when that patch was applied upstream. It is the only difference with the downstream version of that patch. This fixes gcc.c-torture/execute/pr64006.c. gcc/ChangeLog: * config/arc/arc.cc (arc_init_reg_tables): Set the mode class of CC_Vmode to C_MODE. Signed-off-by: Michiel Derhaeg <[email protected]> Diff: --- gcc/config/arc/arc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/arc/arc.cc b/gcc/config/arc/arc.cc index 32e358d2fd44..28e6f0b97296 100644 --- a/gcc/config/arc/arc.cc +++ b/gcc/config/arc/arc.cc @@ -1794,7 +1794,7 @@ arc_init_reg_tables (void) /* mode_class hasn't been initialized yet for EXTRA_CC_MODES, so we must explicitly check for them here. */ if (i == (int) CCmode || i == (int) CC_ZNmode || i == (int) CC_Zmode - || i == (int) CC_Cmode + || i == (int) CC_Cmode || i == (int) CC_Vmode || i == CC_FP_GTmode || i == CC_FP_GEmode || i == CC_FP_ORDmode || i == CC_FPUmode || i == CC_FPUEmode || i == CC_FPU_UNEQmode) arc_mode_class[i] = 1 << (int) C_MODE;
