[PATCH] Fix c/69643, named address space wrong-code
Richard Biener
richard.guenther@gmail.com
Wed Feb 3 07:05:00 GMT 2016
On February 3, 2016 7:03:54 AM GMT+01:00, Richard Henderson <rth@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~
More information about the Gcc-patches
mailing list