From 18252dcfaa504d6711e6d96a05a5c360b2b7078c Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 17 May 2010 09:32:44 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/lto-streamer-out.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e5d09425ec9..d4b4e50c627 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2010-05-17 Jakub Jelinek + + * lto-streamer-out.c (lto_output): Fix --enable-checking=release + build. + 2010-05-16 Jan Hubicka * 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 520f29afa59..b90c9daa1ee 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 = -- 2.30.2