[Chicken-users] A question on C_reclaim

2011-10-14 Thread Jörg F . Wittenberger
Hi, I'm again getting complaints from valgrind and now gcc, since I begin to compile runtime.c with -Wall -Wno-unused (at this time). Reading the source wrt. the warnings (I'm afraid those might end up under -OX as code which will in reward trigger valgrind more or less reasonably.) In

Re: [Chicken-users] A question on C_reclaim

2011-10-14 Thread Jörg F . Wittenberger
This turns out to be a very gcc related issue. Optimisation flags that is. So far I have this only on gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2 for sure. The standard DEBUGBUILD=1 will omit the -Os from the compile. For me this gives working code and no valgrind complaints. When I add -Os to

Re: [Chicken-users] A question on C_reclaim

2011-10-14 Thread John Cowan
Jörg F. Wittenberger scripsit: A) gcc will still warn about about 'weakn' may be used uninitialized in this function And rightly so. weakn is intialized at line 2888, which is within the scope of the if(C_enable_gcweak) { beginning at line 2885 and ending at line 2891. The problematic