Re: [IPCP] Remove unreachable code

2016-11-05 Thread Jeff Law
On 10/24/2016 04:46 PM, kugan wrote: Hi, I noticed that in ipcp_bits_lattice::meet_with we have: else if (TREE_CODE_CLASS (code) == tcc_unary) else if (code == NOP_EXPR) Since TREE_CODE_CLASS for NOP_EXPR is tcc_unary, if (code == NOP_EXPR) is unreachable and therefore removi

Re: [IPCP] Remove unreachable code

2016-10-24 Thread Prathamesh Kulkarni
On 25 October 2016 at 04:16, kugan wrote: > Hi, > > I noticed that in ipcp_bits_lattice::meet_with we have: > > else if (TREE_CODE_CLASS (code) == tcc_unary) > > else if (code == NOP_EXPR) > > > Since TREE_CODE_CLASS for NOP_EXPR is tcc_unary, if (code == NOP_EXPR) is > unreachab

[IPCP] Remove unreachable code

2016-10-24 Thread kugan
Hi, I noticed that in ipcp_bits_lattice::meet_with we have: else if (TREE_CODE_CLASS (code) == tcc_unary) else if (code == NOP_EXPR) Since TREE_CODE_CLASS for NOP_EXPR is tcc_unary, if (code == NOP_EXPR) is unreachable and therefore removing it. I also don't think that we ne