Re: [PATCH] Ignore EDGE_PRESERVE in flow info verification (PR rtl-optimization/49912)

2011-11-26 Thread Richard Henderson
On 11/25/2011 10:34 AM, Jakub Jelinek wrote: > PR rtl-optimization/49912 > * cfgrtl.c (rtl_verify_flow_info_1): Ignore also EDGE_PRESERVE bit > when counting n_branch. > > * g++.dg/other/pr49912.C: New test. Ok. r~

[PATCH] Ignore EDGE_PRESERVE in flow info verification (PR rtl-optimization/49912)

2011-11-25 Thread Jakub Jelinek
Hi! The following testcase ICEs during flow verification, because there is an unconditional branch with EDGE_PRESERVE set on the edge and because of that bit rtl_verify_flow_info_1 wouldn't count it as n_branch. Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2