OSDN Git Service

* lto-streamer-out.c (lto_output): Fix --enable-checking=release
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 May 2010 07:32:44 +0000 (07:32 +0000)
committerMasaki Muranaka <monaka@monami-software.com>
Sun, 23 May 2010 05:10:08 +0000 (14:10 +0900)
build.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159473 138bc75d-0d04-0410-961f-82ee72b054a4

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

index e5d0942..d4b4e50 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 520f29a..b90c9da 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 =