This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix Ada bootstrap with LTO
- From: Marek Polacek <polacek at redhat dot com>
- To: Jan Hubicka <hubicka at ucw dot cz>
- Cc: gcc-patches at gcc dot gnu dot org, rguenther at suse dot de
- Date: Sun, 31 May 2015 09:55:40 +0200
- Subject: Re: Fix Ada bootstrap with LTO
- Authentication-results: sourceware.org; auth=none
- References: <20150531031152 dot GB34108 at kam dot mff dot cuni dot cz>
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