This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR66794


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]