Hacker News new | ask | show | jobs
by dbcurtis 3033 days ago
> Everything looks correct in debug, where (as mentioned) the variables are initialised to nice values like 0. When you compile with -O3, you get really large values instead.

Uninitialized variable. Turn on warnings.