[COMMITTED][PATCH] PR63676, exit tree fold when node be TREE_CLOBBER_P

2014-11-07 Thread Jiong Wang
On 07/11/14 10:57, Tejas Belagod wrote: On 07/11/14 10:35, Richard Biener wrote: On Fri, Nov 7, 2014 at 11:22 AM, Jiong Wang wrote: ok to trunk? Please instead guard the GIMPLE_SINGLE_RHS case in fold_gimple_assign instead, like Index: gcc/gimple-fold.c =

Re: [PATCH] PR63676, exit tree fold when node be TREE_CLOBBER_P

2014-11-07 Thread Tejas Belagod
On 07/11/14 10:35, Richard Biener wrote: On Fri, Nov 7, 2014 at 11:22 AM, Jiong Wang wrote: the problem is caused by constant fold of node with TREE_CLOBBER_P be true. according to rtl expander, the purpose of clobber is to mark the going out of scope. if (TREE_CLOBBER_P (rhs))

Re: [PATCH] PR63676, exit tree fold when node be TREE_CLOBBER_P

2014-11-07 Thread Richard Biener
On Fri, Nov 7, 2014 at 11:22 AM, Jiong Wang wrote: > the problem is caused by constant fold of node with TREE_CLOBBER_P be true. > > according to rtl expander, the purpose of clobber is to mark the going out > of scope. > > if (TREE_CLOBBER_P (rhs)) > /* This is a clobber

[PATCH] PR63676, exit tree fold when node be TREE_CLOBBER_P

2014-11-07 Thread Jiong Wang
the problem is caused by constant fold of node with TREE_CLOBBER_P be true. according to rtl expander, the purpose of clobber is to mark the going out of scope. if (TREE_CLOBBER_P (rhs)) /* This is a clobber to mark the going out of scope for this LHS.