Re: [PATCH] Record outer non-cleanup region in TREE EH.

2020-01-20 Thread Richard Biener
On Wed, Jan 15, 2020 at 3:48 PM Martin Liška wrote: > > On 1/15/20 12:48 PM, Martin Liška wrote: > > On 1/15/20 12:08 PM, Richard Biener wrote: > >> On Wed, Jan 15, 2020 at 10:57 AM Martin Liška wrote: > >>> > >>> Hi. > >>> > >>> The patch is about caching of outer non-CLEANUP region > >>> for a

Re: [PATCH] Record outer non-cleanup region in TREE EH.

2020-01-15 Thread Martin Liška
From: Martin Liska Date: Tue, 14 Jan 2020 14:41:52 +0100 Subject: [PATCH] Record outer non-cleanup region in TREE EH. gcc/ChangeLog: 2020-01-14 Martin Liska PR tree-optimization/93199 * tree-eh.c (struct leh_state): Add new field outer_non_cleanup. (cleanup_is_dead_in): Pass leh_state instea

Re: [PATCH] Record outer non-cleanup region in TREE EH.

2020-01-15 Thread Martin Liška
On 1/15/20 12:08 PM, Richard Biener wrote: On Wed, Jan 15, 2020 at 10:57 AM Martin Liška wrote: Hi. The patch is about caching of outer non-CLEANUP region for a leh_state. It's a spin off the https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93199#c19, now it's not using a hash_map, but a cached v

Re: [PATCH] Record outer non-cleanup region in TREE EH.

2020-01-15 Thread Richard Biener
On Wed, Jan 15, 2020 at 10:57 AM Martin Liška wrote: > > Hi. > > The patch is about caching of outer non-CLEANUP region > for a leh_state. It's a spin off the > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93199#c19, > now it's not using a hash_map, but a cached value in leh_state. > > Patch can b

[PATCH] Record outer non-cleanup region in TREE EH.

2020-01-15 Thread Martin Liška
Hi. The patch is about caching of outer non-CLEANUP region for a leh_state. It's a spin off the https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93199#c19, now it's not using a hash_map, but a cached value in leh_state. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Ready to