AVR: avr-passes.cc - Fix a build warning.

gcc/
	* config/avr/avr-passes.cc (avr_split_fake_addressing_move): Fix
	a build warning.
This commit is contained in:
Georg-Johann Lay 2024-10-01 20:25:26 +02:00
parent ac4cdf5cb4
commit 5e41e8fd86

View File

@ -1788,7 +1788,8 @@ avr_split_fake_addressing_move (rtx_insn * /*insn*/, rtx *xop)
HOST_WIDE_INT add = 0, sub = 0;
int msize = GET_MODE_SIZE (mode);
AVR_LdSt_Props ap { REGNO (base), store_p, volatile_p, ADDR_SPACE_GENERIC };
AVR_LdSt_Props ap { (int) REGNO (base), store_p, volatile_p,
ADDR_SPACE_GENERIC };
switch (addr_code)
{