This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC's data dependence analyse may inaccuracy
On Mon, Dec 14, 2009 at 2:08 PM, Revital1 Eres <ERES@il.ibm.com> wrote:
> Hello,
>
>> I unroll the following code one times in a gimpile pass.
>
> Can you please post the flags you used and the full test?
> I can try to reproduce this.
insn 53 (set (mem/s:SF (reg:SI 234 [ ivtmp.51 ]) (reg:SF 245))
//reg245->a[i]
insn 54 (set (reg:SF 246)
// reg246 <-b[i+1]
(mem/s:SF (plus:SI (reg:SI 236 [ ivtmp.46 ])
(const_int 4 [0x4]))
well, it's easy. RTL does not have enough alias information to tell
them apart. This is mainly because TARGET_MEM_REF and
plain INDIRECT_REFs are not handled by the RTL oracle.
Richard.
> Thanks,
> Revital
>
>