Re: [patch] Do not call const_binop on MEM_EXPR

2015-01-22 Thread Richard Biener
On Thu, Jan 22, 2015 at 3:36 PM, Eric Botcazou wrote: > Hi, > > const_binop is now invoked on MEM_EXPR, which doesn't make much sense given > the assertion at the end: > > /* Make sure type and arg0 have the same saturating flag. */ > gcc_checking_assert (TYPE_SATURATING (type) >

[patch] Do not call const_binop on MEM_EXPR

2015-01-22 Thread Eric Botcazou
Hi, const_binop is now invoked on MEM_EXPR, which doesn't make much sense given the assertion at the end: /* Make sure type and arg0 have the same saturating flag. */ gcc_checking_assert (TYPE_SATURATING (type) == TYPE_SATURATING (TREE_TYPE (arg1))); Tested on x86_64