On February 3, 2016 7:03:54 AM GMT+01:00, Richard Henderson <r...@redhat.com> wrote: >In gimple_fold_indirect_ref, we STRIP_NOPS, find the ADDR_EXPR, and >fold >everything away. > >I can't imagine it ever being correct to drop an address space change >between >pointers, so I've modified tree_nop_conversion_p. Anything else seems >to >require more checks every places we use STRIP_NOPS. > >Ok?
I wasn't aware that STRIP_NOPS strips ADDR_SPACE_CONVERT_EXPR. Isn't this maybe failing to use that (unable to look at the attachment from my phone). Richard. > >r~