lto-streamer-out.c (lto_output): Fix --enable-checking=release build.
authorJakub Jelinek <jakub@redhat.com>
Mon, 17 May 2010 07:32:44 +0000 (09:32 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Mon, 17 May 2010 07:32:44 +0000 (09:32 +0200)
* lto-streamer-out.c (lto_output): Fix --enable-checking=release
build.

From-SVN: r159473

gcc/ChangeLog
gcc/lto-streamer-out.c

index e5d09425ec9c803ee06242f55e5b85846221c740..d4b4e50c627f65e222594966a007f208c47d6c43 100644 (file)
@@ -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
index 520f29afa5988ce4838a38753f5862b8c1773539..b90c9daa1eeea2e5f4d5d5c92579beff3e380ffa 100644 (file)
@@ -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 =