Re: [Tinycc-devel] pointers to static functions inside a static table

2010-08-30 Thread Thomas Preud'homme
Le mardi 31 août 2010 01:46:48, vous avez écrit : > Hi, > > I think I could fix the null pointer issue by > > http://repo.or.cz/w/tinycc.git/commit/c31dc7aa0c36e19e15cf41a0d2728e89ad339 > 660 Wow, that was fast. Congrats! > > We still need a fix for braces though. I may have found what the probl

Re: [Tinycc-devel] pointers to static functions inside a static table

2010-08-30 Thread shinichiro hamaji
Hi, I think I could fix the null pointer issue by http://repo.or.cz/w/tinycc.git/commit/c31dc7aa0c36e19e15cf41a0d2728e89ad339660 We still need a fix for braces though. Thanks for reporting this issue! On Tue, Aug 31, 2010 at 6:57 AM, Thomas Preud'homme wrote: > Le lundi 30 août 2010 20:32:01,

Re: [Tinycc-devel] pointers to static functions inside a static table

2010-08-30 Thread Thomas Preud'homme
Le lundi 30 août 2010 20:32:01, vous avez écrit : > Hi Thomas. > > > Sorry but I can't reproduce the bug. I've just checked out the mob branch > > and it does what it's suppose to do. Could you tell me what's the latest > > commit in your local mob branch? Mine is > > 9d347f87426aebabe4eb52207b2f9

Re: [Tinycc-devel] pointers to static functions inside a static table

2010-08-30 Thread Aharon Robbins
Hi Thomas. > Sorry but I can't reproduce the bug. I've just checked out the mob branch and > it does what it's suppose to do. Could you tell me what's the latest commit > in > your local mob branch? Mine is 9d347f87426aebabe4eb52207b2f9ea8d2274809 > (latest commit when I wrote this email). I

Re: [Tinycc-devel] pointers to static functions inside a static table

2010-08-30 Thread Thomas Preud'homme
Le vendredi 27 août 2010 12:47:35, Aharon Robbins a écrit : > Hi. I've reported this before, but here is a small test case: > > $ cat foo.c > #include > > static void func(); > > int main(int argc, char **argv) > { > static struct s { > void (*elem)(); > } t[] = { >