http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47153
Zdenek Sojka <zsojka at seznam dot cz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zsojka at seznam dot cz --- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> 2011-01-02 20:45:50 UTC --- Please upload minimal testcase that reproduces the problem. I am not able to reproduce the problem by the steps you provided: $ x86_64-pc-linux-gnu-g++-4.5.2 sudoku_solver_single.cpp -O3 -o sudoku_solver_single $ ./sudoku_solver_single Usage: ./sudoku_solver_single <sudoku puzzle> or -f <sudoku file> Show unknown boxes with . or 0 However, if found_one is true, the loop is expected to never finish: } while(found_one); maybe missing "!" ?