This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17165] pass by reference inhibits vectorization
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 1 Sep 2004 00:47:58 -0000
- Subject: [Bug tree-optimization/17165] pass by reference inhibits vectorization
- References: <20040824085313.17165.stefaandr@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-01 00:47 -------
Here is another example without inlining and references which show that this problem is really the
same as the problem in PR 14814:
typedef int T; T a[4], c[4];
int main() {
for (int x=0; x<4; ++x)
{
T *i = &a[x];
T *r = &c[x];
*r = *i;
}
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17165