> 2016-01-19  Jakub Jelinek  <ja...@redhat.com>
> 
>       PR rtl-optimization/68955
>       PR rtl-optimization/64557
>       * dse.c (record_store, check_mem_read_rtx): Don't call get_addr
>       here.  Fix up formatting.
>       * alias.c (get_addr): Handle VALUE + CONST_INT.

VALUE +/- CONST_INT (and actually also CONST_WIDE_INT).

>       * gcc.dg/torture/pr68955.c: New test.

OK, if you add "plus or minus an optional constant offset" to the head comment 
of the get_addr function, thanks.

Handling CONST_WIDE_INT looks superfluous to me though (as well as MINUS since 
it's non-canonical but we'd probably better be forgiving for this one).

-- 
Eric Botcazou

Reply via email to