avr-libc icon indicating copy to clipboard operation
avr-libc copied to clipboard

Fixed incorrect dynamic dispatch in `wdt_enable` and `wdt_disable`

Open KOLANICH opened this issue 2 years ago • 1 comments

Compiler cannot prove by himself that _SFR_IO_ADDR(_WD_CONTROL_REG) fits into an immediate, so emits an error, because that value is taken from memory.

KOLANICH avatar Jun 29 '22 11:06 KOLANICH

Compiler cannot prove by himself that _SFR_IO_ADDR(_WD_CONTROL_REG) fits into an immediate, so emits an error

Do you have a test case (source, compiler version and options)?

sprintersb avatar Feb 01 '24 15:02 sprintersb