On 11/12/12 00:12, Kaz Kojima wrote:
> Andreas Krebbel <kreb...@linux.vnet.ibm.com> wrote:
>> Index: gcc/config/sh/sh.c
>> ===================================================================
>> *** gcc/config/sh/sh.c.orig
>> --- gcc/config/sh/sh.c
> [snop]
>> ! static void
>>   sh_canonicalize_comparison (enum rtx_code& cmp, rtx& op0, rtx& op1,
>> !                        enum machine_mode mode,
>> !                        bool op0_preserve_value ATTRIBUTE_UNUSED)
>>   {
>> +   HOST_WIDE_INT val;
>> + 
> 
> Please remove the last two lines which cause the warning:
> 
> gcc/config/sh/sh.c:1927:17: warning: unused variable 'val' [-Wunused-variable]

urgs - I'll fix this. Is the patch ok with that change for sh?

-Andreas-

Reply via email to