This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/17165] pass by reference inhibits vectorization


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]