http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55637
--- Comment #11 from Mark Wielaard <mark at gcc dot gnu.org> --- It seems somewhat related to the binutils version. The results form comment #10 are with binutils-2.20.51.0.2-5.36.el6.x86_64 If I build and put current binutils trunk on the path the results change (for the worse): 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 FAIL: sourcelocation -O3 -findirect-dispatch output - source compiled test Now all output tests fail... hohum.