summaryrefslogtreecommitdiff
path: root/gcc/c-pch.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-pch.c')
-rw-r--r--gcc/c-pch.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/gcc/c-pch.c b/gcc/c-pch.c
index ccf3c86590c..691e12a2f79 100644
--- a/gcc/c-pch.c
+++ b/gcc/c-pch.c
@@ -1,5 +1,5 @@
/* Precompiled header implementation for the C languages.
- Copyright (C) 2000, 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2002, 2003, 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
This file is part of GCC.
@@ -410,16 +410,7 @@ c_common_read_pch (cpp_reader *pfile, const char *name,
}
/* Save the location and then restore it after reading the PCH. */
-#ifdef USE_MAPPED_LOCATION
saved_loc = expand_location (line_table->highest_line);
-#else
- {
- const struct line_map *map = linemap_lookup (line_table,
- line_table->highest_line);
- saved_loc.file = map->to_file;
- saved_loc.line = SOURCE_LINE (map, line_table->highest_line);
- }
-#endif
cpp_prepare_state (pfile, &smd);