This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [ARM] Fix PR57909 : ICE with internal memcpy and -mno-unaligned-access


Hi,

I forgot to add the test case with the PR fix, the attached patch add it.

Thanks,
Yvan

ChangeLog

gcc/testsuite

2013-07-23  Yvan Roux  <yvan.roux@linaro.org>

        PR target/57909
        * gcc.target/arm/pr57909.c: New test.


On 17 July 2013 10:58, Ramana Radhakrishnan <ramrad01@arm.com> wrote:
> On 07/17/13 09:53, Yvan Roux wrote:
>>
>> Hi,
>>
>> this patch fixes the issue described in PR57909, where we have an ICE
>> during the internal memcpy, as some UNSPEC_UNALIGNED insns are emitted
>> even if -mno-unaligned-access flag is passed. See the link below for a
>> more detailled description:
>>
>> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57909
>>
>> Tested without any regression.
>>
>> Thanks,
>> Yvan
>>
>> ChangeLog
>>
>> gcc/
>>
>> 2013-07-17  Yvan Roux  <yvan.roux@linaro.org>
>>
>>          PR target/57909
>>          * config/arm/arm.c (gen_movmem_ldrd_strd): Fix unaligned
>> load/store
>>          usage in HI mode.
>>
>
> Ok.
>
> regards
> Ramana
>
>

Attachment: pr57909-test.diff
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]