[Bug tree-optimization/32377] can't determine dependence (source/destination overlap without more than size)
irar at il dot ibm dot com
gcc-bugzilla@gcc.gnu.org
Mon Jul 2 12:20:00 GMT 2007
------- Comment #5 from irar at il dot ibm dot com 2007-07-02 12:20 -------
(In reply to comment #4)
> Looks like the data-dependence analysis is doing it's job
I am not sure about that. I tried the following cases and got distance 1 (and
direction positive) in all of them for load and store to ia pair.
for (i = 0; i < N; i++){
ia[i+1] = ia[i] * 4;
}
for (i = 0; i < N; i++){
ia[i] = ia[i+1] * 4;
}
for (i = 0; i < N; i++){
ia[i+1] = 0;
ic[i] = ia[i] * 4;
}
for (i = 0; i < N; i++){
ia[i] = 0;
ic[i] = ia[i+1] * 4;
}
What am I missing?
Thanks,
Ira
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32377
More information about the Gcc-bugs
mailing list