aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2010-05-17 09:32:44 +0200
committerJakub Jelinek <jakub@gcc.gnu.org>2010-05-17 09:32:44 +0200
commit18252dcfaa504d6711e6d96a05a5c360b2b7078c (patch)
tree43bf48bd96534e9f42866ba2f3e5f5fb845e88ef
parent199f1dc47fdec0ab1b5c6bd6032ac44f1cd33c8a (diff)
downloadgcc-18252dcfaa504d6711e6d96a05a5c360b2b7078c.zip
gcc-18252dcfaa504d6711e6d96a05a5c360b2b7078c.tar.gz
gcc-18252dcfaa504d6711e6d96a05a5c360b2b7078c.tar.bz2
lto-streamer-out.c (lto_output): Fix --enable-checking=release build.
* lto-streamer-out.c (lto_output): Fix --enable-checking=release build. From-SVN: r159473
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/lto-streamer-out.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e5d0942..d4b4e50 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2010-05-17 Jakub Jelinek <jakub@redhat.com>
+
+ * lto-streamer-out.c (lto_output): Fix --enable-checking=release
+ build.
+
2010-05-16 Jan Hubicka <jh@suse.cz>
* ipa-cp.c (ipcp_versionable_function_p): Walk cgraph edges instead of
diff --git a/gcc/lto-streamer-out.c b/gcc/lto-streamer-out.c
index 520f29a..b90c9daa 100644
--- a/gcc/lto-streamer-out.c
+++ b/gcc/lto-streamer-out.c
@@ -2127,7 +2127,9 @@ lto_output (cgraph_node_set set, varpool_node_set vset)
statements using the statement UIDs. */
output_cgraph (set, vset);
+#ifdef ENABLE_CHECKING
lto_bitmap_free (output);
+#endif
}
struct ipa_opt_pass_d pass_ipa_lto_gimple_out =