As described in
PATCH: Avoid segfault if line_table->maps is not set up
http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00981.html
if a PCH couldn't be loaded, the call to fatal_error ("had to relocate PCH")
causes a SEGV in linemap_lookup since the line_table hasn't been set up at this
point. While the proposed patch hacks around the problem by having
linemap_lookup
provide a dummy line_map in this case, it should probably be pch's
responsibility
to set one up before calling fatal_error.
--
Summary: SEGV in linemap_lookup if PCH cannot be loaded
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: pch
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ro at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43271