|
From: | Andrew Hutchinson |
Subject: | Re: [avr-gcc-list] Bug35013 - Incomplete check for pm() annotation |
Date: | Sat, 16 Feb 2008 17:17:26 -0500 |
User-agent: | Thunderbird 2.0.0.9 (Windows/20071031) |
Eric,I could check to see if direct constant is "odd" in C. It is not too difficult.
However, its not trivial either and wont find "odd" symbols. So I'm leaving that alone.
After all, if you are doing non-standard function pointer arithmetic, you should be aware of what might go wrong.
Can you mark: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27192 as duplicate of 35013 and point to the same potential solution?Both need testing, there might be hidden bug where we don't want pm() around an expression.
I'm running testsuite - but it's slow! Andy Weddington, Eric wrote:
-----Original Message-----From: Andrew Hutchinson [mailto:address@hidden Sent: Saturday, February 16, 2008 2:47 PMTo: Weddington, Eric Cc: Wouter van Gulik; address@hiddenSubject: Re: [avr-gcc-list] Bug35013 - Incomplete check for pm() annotationThanks Eric , that was it.Unfortunately it is only linker WARNING and easily missed during compilation.Hey, look! Something else to fix... ;-) Eric
[Prev in Thread] | Current Thread | [Next in Thread] |