Patchwork Use rtx_refs_may_alias_p instead of alias_sets_conflict_p in

login
register
mail settings
Submitter H.J. Lu
Date Aug. 9, 2010, 3:58 p.m.
Message ID <AANLkTi=Kzrq1J65hSYP7Ot82cq-TY4bM_c0esFTb0tdo@mail.gmail.com>
Download mbox | patch
Permalink /patch/61287/
State New
Headers show

Comments

H.J. Lu - Aug. 9, 2010, 3:58 p.m.
On Mon, Aug 9, 2010 at 8:56 AM, Bingfeng Mei <bmei@broadcom.com> wrote:
> Sorry, I will check in patch and always enable Werror next time.
>
>>
>> Gcc is broken:
>>
>> ../../src-trunk/gcc/alias.c: In function 'may_alias_p':
>> ../../src-trunk/gcc/alias.c:2537:7: error: unused variable 'ret'
>> [-Werror=unused-variable]
>> cc1: all warnings being treated as errors
>>
>>

I checked in this.

Patch

Index: alias.c
===================================================================
--- alias.c	(revision 163037)
+++ alias.c	(working copy)
@@ -2534,7 +2534,6 @@  int
 may_alias_p (const_rtx mem, const_rtx x)
 {
   rtx x_addr, mem_addr;
-  int ret;

   if (MEM_VOLATILE_P (x) && MEM_VOLATILE_P (mem))
     return 1;