Re: [Sdcc-user] [BUG] bad code generation for array of code pointers

2009-07-10 Thread Maarten Brock
Lv Zheng, If you think you found a bug please file it in SDCC's bug tracker at sourceforge. On the mailinglist it is bound to be forgotten. Greets, Maarten Brock > Hi, all > > We post this message for someone who might be put in a great > quandary like us. > > Please look at the sample codes: >

[Sdcc-user] [BUG] bad code generation for array of code pointers

2009-07-09 Thread Lv Zheng
Hi, all We post this message for someone who might be put in a great quandary like us. Please look at the sample codes: #define NR_TEST_FUNCS 2 typedef code struct test_funcs { void (*non)(void); } test_funcs_c; test_funcs_c * data t