This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR66794
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Richard Biener <rguenther at suse dot de>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 8 Jul 2015 07:53:02 -0700
- Subject: Re: [PATCH] Fix PR66794
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1507081345060 dot 9923 at zhemvz dot fhfr dot qr>
On Wed, Jul 8, 2015 at 4:46 AM, Richard Biener <rguenther@suse.de> wrote:
>
> Passes do not expect post-dominators being around and thus forget
> to invalidate them properly. Thus passes computing them have to
> free them. The patch fixes path-isolation and adds an assert so
> this doesn't happen again.
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk.
>
> Richard.
>
> 2015-07-08 Richard Biener <rguenther@suse.de>
>
> PR tree-optimization/66794
> * passes.c (execute_function_todo): Assert that post-dominators
> are not computed.
> * gimple-ssa-isolate-paths.c (gimple_ssa_isolate_erroneous_paths):
> Free post-dominators.
>
This caused:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66807
--
H.J.