PR middle-end/35535 part II

2013-12-17 Thread Jan Hubicka
Hi, this patch contines on tract of making us to handle OBJ_TYPE_REF in expressions more gracefully. The change in gimple_fold_stmt_to_constant_1 makes it to skip the wrapper, so valuelize functions of passes never see it, and in addition OBJ_TYPE_REF is stripped once argument becomes constant. I

Re: PR middle-end/35535 part II

2013-12-17 Thread Jeff Law
On 12/17/13 13:45, Jan Hubicka wrote: Hi, this patch contines on tract of making us to handle OBJ_TYPE_REF in expressions more gracefully. The change in gimple_fold_stmt_to_constant_1 makes it to skip the wrapper, so valuelize functions of passes never see it, and in addition OBJ_TYPE_REF is str