http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55637
--- Comment #10 from Mark Wielaard <mark at gcc dot gnu.org> --- O wait, it is more complicated than that. My "by hand" tests were using the interpreter. But there are multiple sourcelocation tests: PASS: sourcelocation compilation from source PASS: sourcelocation execution - source compiled test FAIL: sourcelocation output - source compiled test PASS: sourcelocation -findirect-dispatch compilation from source PASS: sourcelocation -findirect-dispatch execution - source compiled test FAIL: sourcelocation -findirect-dispatch output - source compiled test PASS: sourcelocation -O3 compilation from source PASS: sourcelocation -O3 execution - source compiled test FAIL: sourcelocation -O3 output - source compiled test PASS: sourcelocation -O3 -findirect-dispatch compilation from source PASS: sourcelocation -O3 -findirect-dispatch execution - source compiled test PASS: sourcelocation -O3 -findirect-dispatch output - source compiled test So sometimes the output does PASS.