------- Comment #5 from wrobell at pld-linux dot org 2008-08-18 22:40 -------
(In reply to comment #4)
> >gdb claims that problem is at line 2285, variable "accumulator" is 0x0,
>
> well with optimization, debugging info is not always fully correct.
>
i've changed function declaration again to 'static inline'
and inserted
printf('acc %d\n', accumulator);
just before line 2285.
i've got 'acc 0'. so it is really 0x0 and the condition at line 2282
is not evaluated properly (or was optimized out/whatever :)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37154