Update of bug #34423 (project avr-libc):
Status: None => Invalid
Assigned to: None => joerg_wunsch
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #3:
> The main problem with this project is the fact that the
> MSB of temperature is incorrect. GCC uses register r27
> with undefined value instead of r14 containing MSB.
Exactly, this is my analysis, too, and this rather clearly
appears to be a compiler bug to me.
Forcing the compiler to inline the CRC function simply hides
that bug, but it's not a solution. With -Os, the compiler
is really right to not inline it, as this causes a smaller
code size. (Switching to -O2 is already sufficient to
inline it.)
Closing as "invalid" since there is nothing avr-libc can
do about here. Please open a GCC bug report for it, and
don't forget to add the preprocessed sourcecode there.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?34423>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev