http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57653
Bug ID: 57653 Summary: filename information discarded when using -imacros Product: gcc Version: 4.8.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: allan at archlinux dot org When compiling with the "-imacros" flag, the file name information is lost in error messages and backtraces. e.g. > gcc-4.8 -imacros i.h test.c <command-line>: In function ‘main’: <command-line>:5:1: error: expected ‘;’ before ‘}’ token The problem commit is: http://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=6adc88f8