Hi Richard, Hi DJ, I am currently unable to build m32c gcc port because the set_optab_handler function has been deleted:
gcc/config/m32c/m32c.c:1873: undefined reference to `set_optab_handler' I looked at the code in m32c.c: static void m32c_init_libfuncs (void) { /* We do this because the M32C has an HImode operand, but the M16C has an 8-bit operand. Since gcc looks at the match data and not the expanded rtl, we have to reset the optab so that the right modes are found. */ if (TARGET_A24) { set_optab_handler (cstore_optab, QImode, CODE_FOR_cstoreqi4_24); set_optab_handler (cstore_optab, HImode, CODE_FOR_cstorehi4_24); set_optab_handler (cstore_optab, PSImode, CODE_FOR_cstorepsi4_24); } } But I could not see an obvious way to fix it. Should I be using swap_optab_handler as a replacement function ? Cheers Nick