]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* ifcvt.c (if_convert): Do not free NULL.
authorPhilippe De Muyter <phdm@macqel.be>
Sat, 13 May 2000 17:08:28 +0000 (19:08 +0200)
committerJeff Law <law@gcc.gnu.org>
Sat, 13 May 2000 17:08:28 +0000 (11:08 -0600)
From-SVN: r33888

gcc/ChangeLog
gcc/ifcvt.c

index 09153542dc43ee2e77fd7fda666ff8d071a6fc59..556b7052a952a54b50f98584a9992e3f0cea80fc 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 aa54390e73a3ee3ab818f25553299ef5bf04ad26..f4142e28de838631a4b669f75c6b9d1937395f05 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);