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: post-reload register copy-propagation


On Sat, Dec 15, 2001 at 01:49:30AM +0100, Ulrich Weigand wrote:
>           && ! bb->pred->pred_next
>           && bb->pred->src->index != ENTRY_BLOCK
>           && bb->pred->src->index < b)
>         all_vd[b] = all_vd[bb->pred->src->index];
>       else
>         init_value_data (all_vd + b);
> 
> If I add a '&& ! (bb->pred->flags & EDGE_COMPLEX)' to the
> condition, this test case works fine ...

Doh!

Make that

	&& ! (bb->pred->flags & (EDGE_ABNORMAL_CALL | EDGE_EH))

and patch is pre-approved.


r~


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