[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #26284] boot_lock_fuse_bits_get does not compile und
From: |
Brad Schick |
Subject: |
[avr-libc-dev] [bug #26284] boot_lock_fuse_bits_get does not compile under gcc 4.3.X |
Date: |
Wed, 22 Apr 2009 07:51:50 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8) Gecko/2009033100 Ubuntu/9.04 (jaunty) Firefox/3.0.8 |
Follow-up Comment #1, bug #26284 (project avr-libc):
This actually may have been like for a long time, but I think it should still
be changed. As is, the macro is a hassle to use since it doesn't accept a
variable; it must be hard-coded in a switch statement or something. Also, the
very similar 'boot_signature_byte_get' isn't limited to constants. My patch
makes 'boot_lock_fuse_bits_get' more flexible like 'boot_signature_byte_get'.
Also there is no need to explicitly mark r0, r31, r30 as clobbered. r0 is not
changed by LPM, only by SPM
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?26284>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/