This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ptx preliminary address space fixes [4/4]
- From: Richard Biener <richard dot guenther at gmail dot com>
- To: Bernd Schmidt <bernds at codesourcery dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 22 Sep 2014 10:49:45 +0200
- Subject: Re: ptx preliminary address space fixes [4/4]
- Authentication-results: sourceware.org; auth=none
- References: <54117596 dot 1070309 at codesourcery dot com> <CAFiYyc0z11Zp82PFBgmuthBfjNAJdHPP_5GuQYCPb7THH4oF_w at mail dot gmail dot com> <5419EBD2 dot 6080606 at codesourcery dot com>
On Wed, Sep 17, 2014 at 10:15 PM, Bernd Schmidt <bernds@codesourcery.com> wrote:
> On 09/11/2014 01:41 PM, Richard Biener wrote:
>>
>> On Thu, Sep 11, 2014 at 12:12 PM, Bernd Schmidt <bernds@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?
>
>
> I did now (full test on x86_64, and also tested with ptx), and that also
> appears to work. Ok?
Ok.
Thanks,
Richard.
>
> Bernd
>