http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58381
--- Comment #2 from Martin Husemann <martin at netbsd dot org> --- Created attachment 30790 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30790&action=edit Restore line_table and input_location before calling fatal_error when failing a pch load With this patch, the fatal_error is properly reported: > $BUILDDIR/stage1-gcc/xg++ -B $BUILDDIR/stage1-gcc -Werror -Winvalid-pch > -Wno-deprecated -c conftest.cc conftest.cc:1:0: fatal error: had to relocate PCH #include "conftest.h" ^ compilation terminated.