On Thu, Sep 11, 2014 at 12:12 PM, Bernd Schmidt <ber...@codesourcery.com> wrote: > This one isn't a wrong-code issue, just a missed optimization. The strlen > optimizations need to be made to look through ADDR_SPACE_CONVERT_EXPR to > work on ptx. > > Bootstrapped and tested together with the other patches on x86_64-linux. > Ok?
Did you try adding ADDR_SPACE_CONVERT_EXPR to the tree codes handled in gimple_assign_cast_p? Thanks, Richard. > > Bernd