Fix Ada bootstrap with LTO

Marek Polacek polacek@redhat.com
Sun May 31 13:13:00 GMT 2015


On Sun, May 31, 2015 at 05:11:52AM +0200, Jan Hubicka wrote:
> @@ -1548,6 +1503,10 @@ eliminate_unnecessary_stmts (void)
>        something_changed |= remove_dead_phis (bb);
>      }
>  
> +  if (bb_postorder)
> +    free (bb_postorder);
> +  bb_postorder = NULL;

Since free (NULL) is a no-op, that check seems redundant.

	Marek



More information about the Gcc-patches mailing list