aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/c-family/c-pch.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index df7ab16..61134bd 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2012-09-25 Dehao Chen <dehao@google.com>
+
+ PR middle-end/54645
+ * c-family/c-pch.c (c_common_read_pch): Rebuild the location_adhoc_data
+ map when read in the pch.
+
2012-09-25 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/54676
diff --git a/gcc/c-family/c-pch.c b/gcc/c-family/c-pch.c
index 3a588f0..b239ed4 100644
--- a/gcc/c-family/c-pch.c
+++ b/gcc/c-family/c-pch.c
@@ -340,6 +340,7 @@ c_common_read_pch (cpp_reader *pfile, const char *name,
gt_pch_restore (f);
cpp_set_line_map (pfile, line_table);
+ rebuild_location_adhoc_htab (line_table);
timevar_push (TV_PCH_CPP_RESTORE);
if (cpp_read_state (pfile, name, f, smd) != 0)