https://gcc.gnu.org/g:3a4df843f91297bcfde6d365498373769691255d
commit r17-5063-g3a4df843f91297bcfde6d365498373769691255d Author: Jeff Law <[email protected]> Date: Sun Oct 11 11:01:52 2026 -0600 [VAX]Fix vax build after recent CTZ/CLZ changes So just like pru-elf, vax was affected by the CTZ/CLZ changes. Apply the same fix there. Verified that vax builds again. gcc * config/vax/vax.h (CTZ_DEFINED_AT_ZERO): Use GET_MODE_UNIT_BITSIZE. Diff: --- gcc/config/vax/vax.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/vax/vax.h b/gcc/config/vax/vax.h index 1089b210a13c..a21ae498ad64 100644 --- a/gcc/config/vax/vax.h +++ b/gcc/config/vax/vax.h @@ -654,4 +654,4 @@ VAX operand formatting codes: /* Upon failure to find the bit the FFS hardware instruction returns the position of the bit immediately following the field specified. */ #define CTZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) \ - ((VALUE) = GET_MODE_BITSIZE (MODE), 2) + ((VALUE) = GET_MODE_UNIT_BITSIZE (MODE), 2)
