This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
False memory dependeces
- From: Alessandro Lonardo <alessandro dot lonardo at roma1 dot infn dot it>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 01 Mar 2002 12:15:13 +0100
- Subject: False memory dependeces
Is there any support in gcc to eliminate false dependences beetwen
instructions that perform memory access?
Example:
a[i] = b[i] //1
a[i+1] = c[i] //2
I would like to emit the r-value of line 2 before emitting the l-value
of line 1.
It would be fine also to have the possibility of emitting a pragma of
the kind:
c[] is not overalapping with a[] in memory.
Thanks in advance,
Alessandro Lonardo.