[avr-gcc-list] How to get low byte off a function address?

2008-01-19 Thread Wouter van Gulik
Dear list, How do I do this: main.c = void foo(void) { } char table[2] = { (foo), (foo), }; int main(int argc, char* argv[]) { int adr = table[argc]+0x3F00; ((void (*) (void))adr)(); return 0;

RE: [avr-gcc-list] How to get low byte off a function address?

2008-01-19 Thread Weddington, Eric
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] org] On Behalf Of Wouter van Gulik Sent: Saturday, January 19, 2008 8:16 AM To: avr-gcc-list@nongnu.org Subject: [avr-gcc-list] How to get low byte off a function address? Dear list, How do I do this:

[avr-gcc-list] More results from the testsuite with avrtest

2008-01-19 Thread Paulo Marques
Hi, all I've been running the testsuite from SVN with avrtest to track down the latest bugs. I've finally track down every failure in execute.exp, and I'm preparing to move on to the full testsuite (I hope). So, here's a list of all the problems so far: FAIL:

RE: [avr-gcc-list] More results from the testsuite with avrtest

2008-01-19 Thread Weddington, Eric
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] org] On Behalf Of Paulo Marques Sent: Saturday, January 19, 2008 11:27 AM To: avr-gcc-list@nongnu.org Subject: [avr-gcc-list] More results from the testsuite with avrtest Hi, all I've been running the

RE: [avr-gcc-list] More results from the testsuite with avrtest

2008-01-19 Thread Weddington, Eric
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] org] On Behalf Of Paulo Marques Sent: Saturday, January 19, 2008 11:27 AM To: avr-gcc-list@nongnu.org Subject: [avr-gcc-list] More results from the testsuite with avrtest Hi, all I've been running the

RE: [avr-gcc-list] More results from the testsuite with avrtest

2008-01-19 Thread Paulo Marques
Quoting Weddington, Eric [EMAIL PROTECTED]: [...] FAIL: gcc.c-torture/execute/built-in-setjmp.c execution, -O2 Now reported as bug #34879: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34879 FAIL: gcc.c-torture/execute/builtin-bitops-1.c compilation, -O0 [...] The undefined reference to