summaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorgchare <gchare@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-28 20:57:20 +0000
committergchare <gchare@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-28 20:57:20 +0000
commitd44dc666b08e3a6ebeb034ef336f76662a9616a0 (patch)
tree2f4fc7403cfe8423ab82b8982d579b5e1cc69326 /libcpp
parent1c287e8d22108df6cff6a84f34148d64ead7270d (diff)
downloadgcc-d44dc666b08e3a6ebeb034ef336f76662a9616a0.tar.gz
* include/line-map.h (struct line_maps):
Remove unused field last_listed. Update all users. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176898 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog5
-rw-r--r--libcpp/include/line-map.h5
-rw-r--r--libcpp/line-map.c1
3 files changed, 5 insertions, 6 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 3f5ab0b21f2..1b224182368 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-28 Gabriel Charette <gchare@google.com>
+
+ * include/line-map.h (struct line_maps):
+ Remove unused field last_listed. Update all users.
+
2011-07-28 H.J. Lu <hongjiu.lu@intel.com>
* configure.ac: Set need_64bit_hwint to yes for x86 targets.
diff --git a/libcpp/include/line-map.h b/libcpp/include/line-map.h
index 3234423ffd8..f1d5bee801b 100644
--- a/libcpp/include/line-map.h
+++ b/libcpp/include/line-map.h
@@ -76,11 +76,6 @@ struct GTY(()) line_maps {
unsigned int cache;
- /* The most recently listed include stack, if any, starts with
- LAST_LISTED as the topmost including file. -1 indicates nothing
- has been listed yet. */
- int last_listed;
-
/* Depth of the include stack, including the current file. */
unsigned int depth;
diff --git a/libcpp/line-map.c b/libcpp/line-map.c
index 86e2484fd0a..dd3f11cd660 100644
--- a/libcpp/line-map.c
+++ b/libcpp/line-map.c
@@ -34,7 +34,6 @@ linemap_init (struct line_maps *set)
set->maps = NULL;
set->allocated = 0;
set->used = 0;
- set->last_listed = -1;
set->trace_includes = false;
set->depth = 0;
set->cache = 0;