From: Philippe De Muyter Date: Sat, 13 May 2000 17:08:28 +0000 (+0200) Subject: * ifcvt.c (if_convert): Do not free NULL. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8701a6a4bae8ba246ce7041f553e8f34dead1115;p=gcc.git * ifcvt.c (if_convert): Do not free NULL. From-SVN: r33888 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 09153542dc4..556b7052a95 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Sat May 13 11:05:47 2000 Philippe De Muyter + + * ifcvt.c (if_convert): Do not free NULL. + 2000-05-12 Nick Clifton * config/fr30/fr30.c (fr30_move_double): New function: Emit code diff --git a/gcc/ifcvt.c b/gcc/ifcvt.c index aa54390e73a..f4142e28de8 100644 --- a/gcc/ifcvt.c +++ b/gcc/ifcvt.c @@ -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);