Follow-up Comment #4, bug #44140 (project avr-libc):

Remaks to

https://savannah.nongnu.org/bugs/download.php?file_id=33934

* adds "memory" clobber to all

* use constraint "d" with ORI reg

* use constraint "n" with SFR_MEM_ADDR

* use "n" with some non-address compile time constants

* use SFR_MEM_ADDR if used in LDS / STS

* use SFR_IO_ADDR if used in IN / OUT

This is completely untested.  In particular, the right fix for the latter 2
might be to use LDS/STS instead of IN/OUT and not adjusting operands.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?44140>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to