This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/32377] can't determine dependence (source/destination overlap without more than size)
- From: "spop at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Jul 2007 07:14:11 -0000
- Subject: [Bug tree-optimization/32377] can't determine dependence (source/destination overlap without more than size)
- References: <bug-32377-33@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from spop at gcc dot gnu dot org 2007-07-03 07:14 -------
(In reply to comment #5)
> 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.
> What am I missing?
>
Distance vectors are lexicographically positive vectors, that is why you get
the 1
in all these cases. If you want to know which one comes first, you have to
look
at the DR_IS_READ for both references in the dependence relation.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32377