aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Hubicka <hubicka@ucw.cz>2015-03-27 10:03:15 +0100
committerJan Hubicka <hubicka@gcc.gnu.org>2015-03-27 09:03:15 +0000
commit50cfd44e5d1ed01d1c641da81ffe3974afa373f7 (patch)
treeba1d254bcb85d0cf975614dff5b8ae063b6e2417 /gcc
parentc3d11ebeac4f8356d863f059a32dcced3d9356b4 (diff)
downloadgcc-50cfd44e5d1ed01d1c641da81ffe3974afa373f7.zip
gcc-50cfd44e5d1ed01d1c641da81ffe3974afa373f7.tar.gz
gcc-50cfd44e5d1ed01d1c641da81ffe3974afa373f7.tar.bz2
lto-streamer.h (class lto_location_cache): Turn loc_cache into auto_vec.
* lto-streamer.h (class lto_location_cache): Turn loc_cache into auto_vec. From-SVN: r221722
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/lto-streamer.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 240a2c9..e014dd8 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,10 @@
2015-03-26 Jan Hubicka <hubicka@ucw.cz>
+ * lto-streamer.h (class lto_location_cache): Turn loc_cache into
+ auto_vec.
+
+2015-03-26 Jan Hubicka <hubicka@ucw.cz>
+
PR lto/65536
* lto-streamer.h (class lto_location_cache): New.
(struct data_in): Add location_cache.
diff --git a/gcc/lto-streamer.h b/gcc/lto-streamer.h
index bf17efe..b383631 100644
--- a/gcc/lto-streamer.h
+++ b/gcc/lto-streamer.h
@@ -354,7 +354,7 @@ private:
/* The location cache. */
- vec<cached_location> loc_cache;
+ auto_vec<cached_location> loc_cache;
/* Accepted entries are ones used by trees that are known to be not unified
by tree merging. */