Re: [PATCH] Rewrite edge flag checking statements to prevent problem with new flags

2014-07-28 Thread Yi Yang
I agree with you that rtl_verify_edges() shouldn't be changed. While I am not sure about purge_dead_edges() since it is not something one looks at when bringing a new flag. But it hasn't caused problems so far, so I can't necessitate changing it either... On Tue, Jul 22, 2014 at 8:16 PM, Jeff Law

Re: [PATCH] Rewrite edge flag checking statements to prevent problem with new flags

2014-07-23 Thread Jeff Law
On 07/16/14 12:41, Yi Yang wrote: There are a few if statements in cfgrtl.c that are very fragile in the sense that introducing an irrelevant edge flag breaks things. This patch rewrites them to avoid such breakage. -- 2014-07-16 Yi Yang gcc: * cfgrtl.c (rtl_verify_edges, purge_dead_e

[PATCH] Rewrite edge flag checking statements to prevent problem with new flags

2014-07-16 Thread Yi Yang
There are a few if statements in cfgrtl.c that are very fragile in the sense that introducing an irrelevant edge flag breaks things. This patch rewrites them to avoid such breakage. -- 2014-07-16 Yi Yang gcc: * cfgrtl.c (rtl_verify_edges, purge_dead_edges): Rewrite certain if statements.