OSDN Git Service

* ifcvt.c (if_convert): Do not free NULL.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 May 2000 17:08:28 +0000 (17:08 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 13 May 2000 17:08:28 +0000 (17:08 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33888 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/ifcvt.c

index 0915354..556b705 100644 (file)
@@ -1,3 +1,7 @@
+Sat May 13 11:05:47 2000  Philippe De Muyter  <phdm@macqel.be>
+
+       * ifcvt.c (if_convert): Do not free NULL.
+
 2000-05-12  Nick Clifton  <nickc@cygnus.com>
 
        * config/fr30/fr30.c (fr30_move_double): New function:  Emit code
index aa54390..f4142e2 100644 (file)
@@ -1990,7 +1990,8 @@ if_convert (life_data_ok)
        block_num++;
     }
 
-  sbitmap_vector_free (post_dominators);
+  if (post_dominators)
+    sbitmap_vector_free (post_dominators);
 
   if (rtl_dump_file)
     fflush (rtl_dump_file);