https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80262

--- Comment #5 from rguenther at suse dot de <rguenther at suse dot de> ---
On Thu, 30 Mar 2017, stefan at reservoir dot com wrote:

> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80262
> 
> --- Comment #4 from Stefan M Freudenberger <stefan at reservoir dot com> ---
> My original example involved a MEM with a constant offset, and yielded an ICE:
> 
> internal compiler error: tree check: expected integer_cst, have
> addr_space_convert_expr in decompose, at tree.h

I believe that one was fixed on trunk:

2017-02-22  Richard Biener  <rguent...@suse.de>

        PR tree-optimization/79673
        * tree-ssa-pre.c (compute_avail): Use wide_int_to_tree to
        convert the [TARGET_]MEM_REF offset INTEGER_CST, scrapping off
        irrelevant address-space qualifiers and avoiding a
        ADDR_SPACE_CONVERT_EXPR from fold_convert.


> Maybe I misinterpreted what type to expect for the operands of the MEM, and
> hence constructed a bad example. I'll try to come up with an example that 
> shows
> the ICE.
> 
>

Reply via email to