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:[EMAIL PROTECTED] Sent: Saturday, February 16, 2008 2:47 PM
To: Weddington, Eric
Cc: Wouter van Gulik; avr-gcc-list@nongnu.org
Subject: Re: [avr-gcc-list] Bug35013 - Incomplete check for pm() annotation

Thanks Eric , that was it.

Unfortunately it is only linker WARNING and easily missed during compilation.



Hey, look! Something else to fix... ;-)

Eric



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to