gcc -O2 error

Mikael Ikivesi mikael.ikivesi at pp.inet.fi
Sun Mar 23 12:28:17 PDT 2008


On Sun, 23 Mar 2008 04:58:01 -0700
Jeremy Chadwick <koitsu at freebsd.org> wrote:
> 
> There's an off-by-one error in your code, which is very likely
> tickling a bug in gcc.

Thanks..
I know...took me a while to find it.
And as code still seemed to work when built without -O2 it was hard
to spot. I sent bug report to gcc team as the -O2 did bork it,
regardless of my buggy coding :)


-Mikael



More information about the freebsd-stable mailing list