Re: [patch] Minor TARGET_MEM_REF cleanup

2012-10-01 Thread Richard Guenther
On Sat, Sep 29, 2012 at 1:17 PM, Eric Botcazou wrote: > Hi, > > for simple loops like: > > extern int a[]; > extern int b[]; > > void foo (int l) > { > int i; > > for (i = 0; i < l; i++) > a[i] = b [i]; > } > > you get in the .lim3 dump: > > Unanalyzed memory reference 0: _5 = MEM[symbol:

[patch] Minor TARGET_MEM_REF cleanup

2012-09-29 Thread Eric Botcazou
Hi, for simple loops like: extern int a[]; extern int b[]; void foo (int l) { int i; for (i = 0; i < l; i++) a[i] = b [i]; } you get in the .lim3 dump: Unanalyzed memory reference 0: _5 = MEM[symbol: b, index: ivtmp.3_1, step: 4, offset: 0B]; Memory reference 1: MEM[symbol: a, index: